Australian Prime Minister Julia Gillard has narrowly avoided being struck with a Vegemite sandwich.

The 51-year-old was targeted with the yeasty snack during a visit to a school near Brisbane, but shrugged it off as “a bit of high jinks”, The Telegraph reported.

The near-miss brings to mind a series of other politicians who have also been targeted with eggs, slime, pies and in one case a miniature model of a cathedral (which hospitalised Italian Prime Minister Silvio Berlusconi).

Scroll down for a gallery of random attacks on other public figures
julia gillard vegemite sandwich

'Just high jinks': Julia Gillard dismisses the Vegemite sandwich attack

Loading Slideshow...
  • John Prescott hit by eggs

    Deputy Prime Minister John Prescott is surrounded by protesters as he arrives at the Little Theatre, in the North Wales seaside resort of Rhyl where he was to address a Labour Party rally. He was hit by at least one egg. Prescott responded by throwing a punch at his assailant.

  • George Bush hit by a shoe

    In this series of December 14, 2008 file images made from APTN video, Muntadar al-Zeidi, a correspondent for Al-Baghdadia television, foreground center, throws a shoe at U.S. President George W. Bush, background left, during a news conference in Baghdad with Iraq Prime Minister Nouri al-Maliki, background right. The man threw two shoes at Bush, one after another, and was then taken into custody. Neither man was hit. In Iraqi culture, throwing shoes at someone is a sign of contempt.

  • Tony Blair hit by purple powder

    Eleven frame composite of the incident, when protesters threw a coloured powder into the chamber of the House of Commons. Left to right / top to bottom: 1) Prime Minister Tony Blair answers a question from Michael Howard; 2) the first missile arrives (visible above wooden seat back in the space between TB and John Prescott; 3) JP watches the missile hit the seat behind TB; 4 ) TB and JP look up to see where the missile came from; 5) second missile arrives ( above and to left of TB); 6), 7) and 8) second missile hits TB on back; 9) TB looks at notes on despatch box; 10) Speaker suspends the house; 11) MP leave the chamber.

  • Silvio Berlusconi hit by a miniature of an Italian cathedral

    A picture dated December 13, 2009, shows Italian Premier Silvio Berlusconi after an attacker hurled a statuette at him at the end of a rally in Milan, Italy, leaving the 73-year-old media mogul with a bloodied mouth and looking stunned.

  • Barack Obama hit by a book

    A book (behind Barack Obama's right shoulder) flies through the air toward the stage, as the president smiles at supporters after speaking during a "Moving America Forward" rally with US Vice President Joe Biden, in Philadelphia, Pennsylvania, October 10, 2010

  • Brian Mawhinney hit by paint

    Conservative Party Chairman Brian Mawhinney after he was sprayed with paint by demonstrators outside the Houses of Parliament in the Republic of Ireland in 1996.

  • Ruth Kelly hit by an egg

    Education Secretary Ruth Kelly recovers after being hit by an egg outside Salford Magistrates Court, Monday February 6, 2006

  • Tony Blair hit by tomatoes

    British Prime Minister Tony Blair arrives at The City of Bristol Further Education College where he was greeted by a mob throwing tomatoes, one of which landed on his back. The demonstrators were protesting against Britain's policy towards Iraq

  • Nick Brown hit by a chocolate eclair

    Agriculture Minister Nick Brown wipes his face after a woman threw a chocolate eclair at him at the National Farmers Union Conference in London in 2000

  • Peter Mandelson is slimed

    Business Secretary Lord Mandelson after a cup of green custard was thrown over him by environmentalist Leila Deen as he arrived at the launch of the Government's low carbon economy summit in central London in 2009

  • Nick Griffin hit by eggs

    British National Party (BNP) leader Nick Griffin (C) is hit by an egg as demonstrators try to disrupt a press conference outside Parliament on June 9, 2009 in London, England

  • Jiri Paroubek hit by eggs

    Czech Social Democratic Party chairman Jiri Paroubek is hit by eggs during a party election rally ahead of the European Parliament elections on May 27, 2009, in Prague, Czech Republic

  • Margaret Thatcher hit by flowers

    File photo dated 23/03/1992 of former Conservative Prime Minister Margaret Thatcher being attacked by a woman wielding a bunch of flowers, during a walkabout in Marple Bridge in Stockport

  • George Galloway hit by eggs

    A supporter of MP George Galloway wipes his face after an egg was thrown towards the MP before an open top bus tour in Bradford, following his victory in March 2012's Bradford West by-election.

  • Sarah Palin hit by tomatoes

    A man was arrested for allegedly throwing two tomatoes at Sarah Palin from the second floor balcony during a book signing event at the Mall of America in Minnesota in 2011