A woman was arrested after a protester held an anti-monarchy sign ahead of the accession proclamation of King Charles III in Edinburgh.
Police Scotland said the arrest was made outside St Giles’ Cathedral, where the Queen’s coffin is due to be held on Monday.
Moments before the proclamation on Sunday afternoon, a demonstrator appeared in the crowd opposite the Mercat Cross.
She held a sign saying “f*** imperialism, abolish monarchy”.
Officers appeared behind her and took her away, prompting the crowd to applaud.
One man shouted: “Let her go, it’s free speech,” while others yelled: “Have some respect.”
A police spokesman said a 22-year-old woman was arrested “in connection with a breach of the peace”.
It came after hecklers were heard booing during the event.
During the first proclamation of Charles, the Lord Lyon King of Arms gave a speech before declaring “God save the King”, which the crowd repeated.
One man was heard booing throughout the cheers.
The national anthem was then sung but, afterwards, people could be heard calling for a republic.
After Lord Lyon King led three cheers, saying “hip hip” to replies of “hooray”, booing was heard for a second time.
Some mourners called the hecklers “disrespectful”, saying they should have avoided the proclamation if they believe in a republic.
Helen Smith, 48, from Livingston, told the PA news agency: “I believe everyone does have a right to protest, but I thought it was the wrong place at the wrong time.
“(It was) incredibly disrespectful to the event that we were just seeing.”
Ms Smith, an engineer, she feels it dampened the event for the rest of the crowd.
“We saw the police keeping an eye on things behind us, and we thought something was going to kick off, and it did,” she said.
“We just felt disappointed because the eyes of the world are on us at the moment.
“It’s a massive moment in history. We’ve had the death of the longest-serving monarch we’ve ever had, we’ve got the new King being proclaimed, and then we have the heckling at the back and the shouting.”
Ann Hamilton, 48, said she thought the interruptions were “terrible”.
Ms Hamilton, who travelled from Dumfries, told PA: “There’s tens of thousands of people here today to show their respect.
“For them to be here, heckling through things, I think it was terrible. If they were so against it, they shouldn’t have come.
“Once everyone was singing God Save The King with their full voices, it was drowning them out.”
Donald Maclaren, 64, of Livingston, added: “It’s very disrespectful. There is a time and a place if you want to protest, but this isn’t it.
“Somebody shouted, ‘Republic now’. Then, when they were doing the three cheers, somebody was booing.”
Liz Maclaren, 67, also branded it “disrespectful”, saying: “The boos sounded like one person.”