Australian Prime Minister Tony Abbott was ousted from office on Monday after losing a leadership challenge within his own party. The move against Abbott came after members of his Liberal Party grew concerned that the socially conservative politician had become deeply unpopular with the general public and would lose the next election.

As news of Abbott's likely ouster spread on Monday, Australian social media users decided to pay tribute to their soon-to-be-ex-leader in an unusual way – by posting photographs of onions.

The Twitter hashtag #putoutyouronions soon trended in Australia, with over 7,000 tweets in the past 24 hours. The format of the hashtag appeared to be based upon the tributes shown to Australian cricketer Phillip Hughes last year. Hughes, who died after being hit by a ball during a game, was honored by social media users who posted images of their cricket bats.

Unfortunately for Abbott, the tributes to the ex-prime minister do not seem to be quite as sincere. Instead, they refer to a notorious incident earlier this year when the Australian leader was pictured biting into and eating a raw onion, skin and all, during a trip to a farm in Tasmania.

"Better than any other onions I've eaten in a long time," Abbott was quoted as saying at the time by local newspaper the Mercury.

It's perhaps a fitting tribute for Abbott, who during less than two years in office became better known for his gaffes than his policies.

Read more:

Australian prime minister ousted in internal party challenge

An Onion headline: Australian leader eats raw onion whole

Australia’s embattled leader has long history of gaffes