The King and Queen Consort have been visiting Yorkshire for a number of engagements.
The statue, at York Minster, will overlook a new town square, with Charles saying at the unveiling ceremony: “The late Queen was always vigilant for the welfare of her people during her life.
“Now her image will watch over what will become Queen Elizabeth Square for centuries to come.”
Charles barely flinched as a protester threw four eggs and him and his wife, Camilla, near to Micklegate Bar, a medieval gateway.
It was last carried out by the Queen, his mother, in 2012.
The King appeared unfazed as he did a walkabout and greeted some of the crowds.
He and Camilla met officials in Mansion House, where the King officially conferred city status on Doncaster in a ceremony.
The pair then attended a reception with a menu which included free range egg and watercress sandwiches.