A 22-year-old man was arrested in Edinburgh, Scotland, on Monday after shouting "Andrew, you're a sick old man" at the late Queen Elizabeth II's funeral procession.

Britain's King Charles III, flanked by Britain's Princess Anne, Princess Royal, Britain's Prince Andrew, Britain's Camilla, Queen Consort and Vice Admiral Timothy Laurence walk behind the coffin of Queen Elizabeth II, inside St Giles Cathedral in Edinburgh on September 12, 2022, during a service of Thanksgiving for the Queen's life.

Britain's King Charles III is flanked by Britain's Princess Anne.

POOL/AFP via Getty Images

Hollyroodhouse, the British monarchy's official Scottish palace, was the location of the memorial service.

Prince Andrew and the queen's three other children walked behind their mother's coffin as a young man yelled at the procession before being arrested.

Police Scotland told Sky News that the man had been arrested for breaching the peace.

A 74-year-old man was also arrested and charged with breaching the peace on Sunday near Holyroodhouse.

A new policing law that took effect in the U.K. earlier this year allowed law enforcement to put more restrictions on protests, and Hill said on social media that he had been arrested under that law.

Prince Andrew, a member of the royal family, took a break from his job in 2019. Virginia Giuffre sued Andrew earlier this year, accusing him of sexually abusing her when she was a teenager. After Andrew's military titles were stripped by the queen, the two settled out of court. After the death of his father, Prince Philip, Prince Andrew gave short interviews to British media. The backlash among viewers was that Andrew was given a platform despite his alleged refusal to cooperate with U.S. investigators. Prince Andrew is now in line for the throne.

Tangent

Andrew was said to be his mom's favorite child. Sources close to the family told multiple media outlets that Andrew and Sarah Ferguson will take over the care of Elizabeth's corgis after she dies. When she was a teenager, the queen had many corgis.

After stepping down as a working royal, Prince Andrew gave his first public interview.

Here's how she'll get to London.

Here is who is next in line for the throne after Queen Elizabeth's death.