London: A 21-year-old man was fined on Friday after he admitted throwing an egg towards King Charles III during a royal walkabout last year.
Harry May, 21, of Luton, north of London, was fined £100 ($122) and ordered to pay £85 costs after pleading guilty to a public order offence.
The incident happened when Charles, 74, was in Luton on December 6 to meet community leaders and open a new temple.
Prosecutor Jason Seetal said the egg thrown by May landed near Charles as he chatted to locals.
He said May told police he threw it because "he believed the king visiting a town like Luton, which is a deprived and poor area, was in bad taste".
"Whatever disagreement you have with somebody, the way to resolve it is not to throw projectiles at them," chief magistrate Paul Goldspring told May during a hearing at Westminster Magistrates Court.
The magistrate said he accepted that May was not trying to hit the king with the egg but said the attack was "planned" and "targeted" Charles.
The attack came less than a month after several eggs were thrown at Charles and his wife Camilla in the city of York, in northern England, in November.
None of the eggs hit Charles, and he was ushered away by minders.
Police detained the alleged attacker, 23-year-old university student Patrick Thelwell.
He was later released on bail on condition that he did not carry eggs in public except when shopping.
Thelwell will appear in court in York in northern England next Friday.
Charles became king on the death of his mother, Queen Elizabeth II, in September. She was buried after a state funeral and 10 days of national mourning.
But there were some protests against the hereditary principle of monarchy under which Charles took over as head of state.
Jennifer Aniston unveils reason why she did not wanted to star in any other show after 'Friends'
Kate Middleton, The Princess of Wales, gives fans real reason to celebrate
Barry Keoghan shares son, Brando, with his former partner Alyson Sandro
Prince Harry receives bittersweet news from UK ahead of major royal celebration
One of 'Shrek' director Vicky Jenson described 2001 movie's success as unexpected
'Harry Potter' star opens up about 'horrific' on-set experience