Boris Johnson tried to avoid getting egged on the campaign trail today by reminding his potential attacker that it would be better to feed the weapon to a hungry person.
Speaking at a pro-Brexit rally the centre of York today, the former London mayor fielded requests for selfies and hand shakes.
But he told the crowd: "I was told there was gentleman who had an egg he was going to throw at me. Can you believe that."
Spotting the threat, he urged the man: "There are people hungry in this country, don't waste that egg."
Today, George Osborne warned as many as 820,000 jobs could be lost if Britain votes to leave the European Union.
The chancellor has said a Treasury analysis published today also shows Brexit would lead to a year-long recession.
Boris attacked the document as "propaganda". Eurosceptic Conservative MP Marcus Fysh dismissed the report as "severe specious bollocks".
I-images
Pictured is Sam Grigg, 22, a student, who heckled Boris Johnson and threatened to thrown an egg at the politician at a Vote Leave rally in York. Boris Johnson delivers a speech as he campaigns for 'Vote Leave' on Parliament Street in York, England, during the run up to the EU referendum in Britain.
Christopher Furlong via Getty Images
YORK, ENGLAND - MAY 23: Boris Johnson MP addresses members of the public in Parliament St, York during the Brexit Battle Bus tour of the UK on May 23, 2016 in York, England. Boris Johnson and the Vote Leave campaign are touring the UK in their Brexit Battle Bus. The campaign is hoping to persuade voters to back leaving the European Union in the Referendum on the 23rd June 2016. (Photo by Christopher Furlong/Getty Images)
Christopher Furlong via Getty Images
YORK, ENGLAND - MAY 23: Boris Johnson MP addresses members of the public in Parliament St, York during the Brexit Battle Bus tour of the UK on May 23, 2016 in York, England. Boris Johnson and the Vote Leave campaign are touring the UK in their Brexit Battle Bus. The campaign is hoping to persuade voters to back leaving the European Union in the Referendum on the 23rd June 2016. (Photo by Christopher Furlong/Getty Images)
Christopher Furlong via Getty Images
YORK, ENGLAND - MAY 23: Boris Johnson MP addresses members of the public in Parliament St, York during the Brexit Battle Bus tour of the UK on May 23, 2016 in York, England. Boris Johnson and the Vote Leave campaign are touring the UK in their Brexit Battle Bus. The campaign is hoping to persuade voters to back leaving the European Union in the Referendum on the 23rd June 2016. (Photo by Christopher Furlong/Getty Images)
Christopher Furlong via Getty Images
LEEDS, ENGLAND - MAY 23: Boris Johnson MP drives a sports car during a visit to Ginetta Cars Ltd during the Brexit Battle Bus tour in Yorkshire on May 23, 2016 in Leeds, England. Boris Johnson and the Vote Leave campaign are touring the UK in their Brexit Battle Bus. The campaign is hoping to persuade voters to back leaving the European Union in the Referendum on the 23rd June 2016. (Photo by Christopher Furlong/Getty Images)
Christopher Furlong via Getty Images
LEEDS, ENGLAND - MAY 23: Boris Johnson MP enjoys a ride in sports car as it peforms 'donuts' during visit to Ginetta Sports cars as part of the Brexit Battle Bus tour in Yorkshire on May 23, 2016 in Leeds, England. Boris Johnson and the Vote Leave campaign are touring the UK in their Brexit Battle Bus. The campaign is hoping to persuade voters to back leaving the European Union in the Referendum on the 23rd June 2016. (Photo by Christopher Furlong/Getty Images)
Christopher Furlong via Getty Images
LEEDS, ENGLAND - MAY 23: Boris Johnson MP chats to workers during a visit to Ginetta Cars Ltd during the Brexit Battle Bus tour in Yorkshire on May 23, 2016 in Leeds, England. Boris Johnson and the Vote Leave campaign are touring the UK in their Brexit Battle Bus. The campaign is hoping to persuade voters to back leaving the European Union in the Referendum on the 23rd June 2016. (Photo by Christopher Furlong/Getty Images)
Christopher Furlong via Getty Images
LEEDS, ENGLAND - MAY 23: Boris Johnson MP emerges from a sports car after it performed 'donuts' during a visit to Ginetta Sports cars as part of the Brexit Battle Bus tour in Yorkshire on May 23, 2016 in Leeds, England. Boris Johnson and the Vote Leave campaign are touring the UK in their Brexit Battle Bus. The campaign is hoping to persuade voters to back leaving the European Union in the Referendum on the 23rd June 2016. (Photo by Christopher Furlong/Getty Images)
Christopher Furlong via Getty Images
LEEDS, ENGLAND - MAY 23: Boris Johnson MP enjoys a ride in sports car as it peforms 'donuts' during visit to Ginetta Sports cars as part of the Brexit Battle Bus tour in Yorkshire on May 23, 2016 in Leeds, England. Boris Johnson and the Vote Leave campaign are touring the UK in their Brexit Battle Bus. The campaign is hoping to persuade voters to back leaving the European Union in the Referendum on the 23rd June 2016. (Photo by Christopher Furlong/Getty Images)
Christopher Furlong via Getty Images
LEEDS, ENGLAND - MAY 23: Boris Johnson MP views classic sports cars during a visit to Ginetta Cars Ltd during the Brexit Battle Bus tour in Yorkshire on May23, 2016 in Leeds, England. Boris Johnson and the Vote Leave campaign are touring the UK in their Brexit Battle Bus. The campaign is hoping to persuade voters to back leaving the European Union in the Referendum on the 23rd June 2016. (Photo by Christopher Furlong/Getty Images)
Christopher Furlong via Getty Images
YORK, ENGLAND - MAY 23: A woman (no name given) discusses Brexit with Boris Johnson MP in York during the Brexit Battle Bus tour in Yorkshire on May 23, 2016 in York, England. Boris Johnson and the Vote Leave campaign are touring the UK in their Brexit Battle Bus. The campaign is hoping to persuade voters to back leaving the European Union in the Referendum on the 23rd June 2016. (Photo by Christopher Furlong/Getty Images)
Christopher Furlong via Getty Images
LEEDS, ENGLAND - MAY 23: Boris Johnson MP emerges from a sports car after it performed 'donuts' during a visit to Ginetta Sports cars as part of the Brexit Battle Bus tour in Yorkshire on May 23, 2016 in Leeds, England. Boris Johnson and the Vote Leave campaign are touring the UK in their Brexit Battle Bus. The campaign is hoping to persuade voters to back leaving the European Union in the Referendum on the 23rd June 2016. (Photo by Christopher Furlong/Getty Images)
Christopher Furlong via Getty Images
YORK, ENGLAND - MAY 23: Boris Johnson MP chats to school children in the City of York during the Brexit Battle Bus tour of the UK on May 23, 2016 in York, England. Boris Johnson and the Vote Leave campaign are touring the UK in their Brexit Battle Bus. The campaign is hoping to persuade voters to back leaving the European Union in the Referendum on the 23rd June 2016. (Photo by Christopher Furlong/Getty Images)
Christopher Furlong via Getty Images
YORK, ENGLAND - MAY 23: Boris Johnson MP poses for the media next to Clifford's Tower in York during the Brexit Battle Bus tour in Yorkshire on May 23, 2016 in York, England. Boris Johnson and the Vote Leave campaign are touring the UK in their Brexit Battle Bus. The campaign is hoping to persuade voters to back leaving the European Union in the Referendum on the 23rd June 2016. (Photo by Christopher Furlong/Getty Images)
Christopher Furlong via Getty Images
YORK, ENGLAND - MAY 23: Boris Johnson MP addresses members of the public in Parliament St, York during the Brexit Battle Bus tour of the UK on May 23, 2016 in York, England. Boris Johnson and the Vote Leave campaign are touring the UK in their Brexit Battle Bus. The campaign is hoping to persuade voters to back leaving the European Union in the Referendum on the 23rd June 2016. (Photo by Christopher Furlong/Getty Images)
Christopher Furlong via Getty Images
YORK, ENGLAND - MAY 23: Boris Johnson MP addresses members of the public in Parliament St, York during the Brexit Battle Bus tour of the UK on May 23, 2016 in York, England. Boris Johnson and the Vote Leave campaign are touring the UK in their Brexit Battle Bus. The campaign is hoping to persuade voters to back leaving the European Union in the Referendum on the 23rd June 2016. (Photo by Christopher Furlong/Getty Images)
Stefan Rousseau/PA Wire
Former Mayor of London Boris Johnson speaks to a woman in York, where he was traveling on the Vote Leave campaign bus ahead of the EU referendum in June.
Christopher Furlong via Getty Images
YORK, ENGLAND - MAY 23: Boris Johnson MP addresses members of the public in Parliament St, York during the Brexit Battle Bus tour of the UK on May 23, 2016 in York, England. Boris Johnson and the Vote Leave campaign are touring the UK in their Brexit Battle Bus. The campaign is hoping to persuade voters to back leaving the European Union in the Referendum on the 23rd June 2016. (Photo by Christopher Furlong/Getty Images)
Christopher Furlong via Getty Images
YORK, ENGLAND - MAY 23: Boris Johnson MP addresses members of the public in Parliament St, York during the Brexit Battle Bus tour of the UK on May 23, 2016 in York, England. Boris Johnson and the Vote Leave campaign are touring the UK in their Brexit Battle Bus. The campaign is hoping to persuade voters to back leaving the European Union in the Referendum on the 23rd June 2016. (Photo by Christopher Furlong/Getty Images)
Stefan Rousseau/PA Wire
Former Mayor of London Boris Johnson makes a speech in York, where he was traveling on the Vote Leave campaign bus ahead of the EU referendum in June.
Christopher Furlong via Getty Images
YORK, ENGLAND - MAY 23: Boris Johnson MP addresses members of the public in Parliament St, York during the Brexit Battle Bus tour of the UK on May 23, 2016 in York, England. Boris Johnson and the Vote Leave campaign are touring the UK in their Brexit Battle Bus. The campaign is hoping to persuade voters to back leaving the European Union in the Referendum on the 23rd June 2016. (Photo by Christopher Furlong/Getty Images)
Stefan Rousseau/PA Wire
Former Mayor of London Boris Johnson makes a speech in York, where he was traveling on the Vote Leave campaign bus ahead of the EU referendum in June.