The King almost trod in one of the eggs, but he remained calm and continued his stroll.
Police have detained a man for throwing eggs at the King and Queen Consort during their walkabout in York.
North Yorkshire Police stated that the 23-year-old was detained on suspicion of a public order offense and is currently being questioned.
Officers stated that a “well-rehearsed” security operation was in place for the royal couple’s arrival to ensure their safety.
As the royals met citizens on the city’s Micklegate Bar, the king was almost missed by the projectiles.
The audience jeered and yelled “God save the King” and “shame on you.”
As the eggs fell, a protection officer in a suit positioned himself next to the King and briefly grasped his shoulder.
As he was being apprehended, the demonstrator was heard shouting, “This country was established on the blood of slaves.”
The King almost trod in one of the eggs, but he continued walking unperturbed.
The royals are in York for a series of events, including the installation of the first statue of the Queen since her death.
As part of a traditional ritual, the king is officially welcomed to York by the Lord Mayor during this visit.
The Queen performed it for the last time in 2012.
Several routes in the city center were closed to allow the royal convoy to pass and to safeguard the safety of spectators, according to the police.