Crowds of people turned out to see the King and Queen Consort as they marked the centenary of Kirkcaldy war memorial.
King Charles and Queen Camilla unveiled a new memorial cairn, made by local stonemason George Sweeney.
It includes a time capsule buried within its foundations, containing items that celebrate Kirkcaldy.
All are encased within a shell fired to mark Queen Elizabeth II’s death in 2022.
Crowds lined the town centre gardens ahead of the event, which also included a rededication ceremony for the original First World War Memorial.
Some had been there since 6.30am, despite the rain.
A protester also turned up but was quickly asked to leave.
King Charles lay wreath in Kirkcaldy
The King and Queen smiled through a downpour, which began just as they arrived at Kirkcaldy Memorial Gardens.
They were met by cheers from the crowd and music by members of Dysart Colliery Silver Band.
After chatting to Mr Sweeney, they then met members of the public.
One fan presented the Queen with a Mama Mia DVD, and she also chatted to a little girl wearing a tiara especially for the occasion.
The event began with a community parade from the Town House, led by the Royal British Legion.
The King and Queen later performed separate engagements in Kirkcaldy.
His Majesty visited Kirkcaldy Galleries, where he met members of various community groups, including former Prime Minister Gordon Brown.
Meanwhile, as President of Maggie’s, the Queen travelled to Maggie’s Fife at Victoria Hospital to celebrate staff and volunteers.
Kirkcaldy war memorial bears 1,500 names
Kirkcaldy war memorial was paid for thanks to a significant donation from prominent businessman John Nairn.
His son Ian was killed in action in France just months before the First Word War ended.
Its opening ceremony was attended by 25,000 people, including thousands of members of the armed forces.
The memorial now bears almost 1,500 names, including those killed during the Second World War and later conflicts.
Conversation