Edinburgh basked in its hottest day on record as temperatures breached the 30C mark this afternoon.
The Met Office confirmed the temperature at Gogarbank as 31.6C, 0.2C higher than the previous record, set at Edinburgh Airport in 1975.
The figure was also the highest recorded in Scotland today, with 31C at Kinloss in Moray. South of the border, Cambridge set a new UK July record with 38.1C.
The record comes on the same day the UK nudges close to a new all-time high of 39C having already broken the record for the hottest July day as temperatures reached 37.7C in Essex and West London.
The temperatures saw widespread transport disruption for trains travelling into Edinburgh from London, with many services delayed by more than half an hour due to speed restrictions between London and Peterborough.
Much of Western Europe experienced temperatures above those experienced during the record-breaking June heatwave, with Germany setting a new temperature record of 41.5C and a red alert being put in place in northern France, with Paris temperatures hitting a record 42.2C.
The Netherlands also saw its highest temperature ever, hitting 39.4C.
However, the weather is due to take a turn for the worst overnight with thunderstorms predicted for the east coast of the UK, with potential hail and torrential rain.