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.

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.

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.

Queen Elizabeth II is vaccinated against Covid-19

How Well Did You Know Her Majesty?

What year did Queen Elizabeth II take the throne?