Prince Charles has paid a solemn visit to the site of the Stonehaven train derailment.

On Friday, the Prince of Wales thanked first responders at the scene of the crash, which killed three and injured the other six people onboard. Per the BBC, it's thought that the fatal incident was caused by a landslip following heavy rain and flooding near Aberdeenshire, Scotland.

Prince Charles visits Stonehaven train crash site

Charles, who's addressed as the Duke of Rothesay in Scotland, arrived at the scene on the morning of Aug. 14. During the visit, he spoke with representatives of the Scottish Ambulance Service and Police Scotland as well as those who were first on the scene at the Aug. 12 crash.

Prince Charles at Stonehaven train crash site, 14 Aug. 2020.

The Prince of Wales also observed the devastating sight of the derailment, where investigation work is ongoing. Victims of the fatal crash were the train's driver Brett McCullough, conductor Donald Dinnie, and passenger Christopher Stuchbury.

Prince Charles visits scene of Stonehaven train derailment, 14 Aug. 2020.

The Royal Family pays tribute to Stonehaven derailment victims

In addition to Prince Charles's Aug. 14 show of support, Queen Elizabeth II earlier released a heartfelt statement for the victims and their families.

"It was with great sadness that I heard of the train derailment earlier today in Stonehaven, Aberdeenshire," the Queen wrote on Aug. 13.

"The Duke of Edinburgh, and the entire Royal Family, join me in sending our thoughts and prayers to the families of those who have died and those who have been injured. Our thanks go out to the emergency services for their response and dedication."

The Queen and Prince Charles were at their respective summer residences, both in Aberdeenshire, when the derailment occurred. The monarch and the future king, sadly, also wrote messages of support to those affected by the deadly Beirut explosion the week earlier.