Fans of Irish club Shamrock Rovers have been slammed after singing a song celebrating the Queen's death at their Europa Conference League game against Djurgardens.

Shamrock, who play in the League of Ireland Premier Division, took on the Swedish side in Europe's third-tier competition on Thursday night, hours after confirmation of the Queen's passing.

A clip has been posted on Twitter of a group of Shamrock fans at the match singing the words "Lizzie's in a box," to the tune of KC and the Sunshine Band hit, Give It Up. The supporters, some of whom waved flags and pumped fists in the air while belting out the words, have been heavily criticised on social media.

READ MORE: Queen Elizabeth II has died at the age of 96 as entire nation in mourning

One person wrote: "Although the Queen has sadly passed away, we can rest assured that her majesty's final resting place will never be lower than scummy little clubs like Shamrock Rovers and their fans."

Someone else said: "Sick sick sick losers, so many disrespect, jealous a******** showing themselves today." Another user wrote: "Wow, I cannot comprehend what sick minds it takes to sing this."

Shamrock Rovers fans chanted a song celebrating the Queen's death, waved flags and pumped fists
Shamrock Rovers fans chanted a song celebrating the Queen's death, waved flags and pumped fists

A fourth person commented: "Disgraceful. It takes a certain type of person to celebrate the death of an elderly lady. Sick." As another appalled viewer chimed in with: "Imagine being this excited about the death of an old lady. Pathetic."

The incident took place at Shamrock's Tallaaght Stadium in Dublin. The clip has so far been viewed almost 4million times on Twitter, receiving over 27,000 retweets and 100,000 likes.

Despite the action of some fans at the match, the Queen was warmly remembered across Irish politics. In 2011, she became the first British monarch to visit the Republic of Ireland since Irish independence.

She made gestures of reconciliation for Britain's past in Ireland during the four-day visit, ending in a speech in which she expressed regret for past conflicts between the two countries.

The Queen passed away on Thursday
The Queen passed away on Thursday

"During those memorable few days, the Queen did not shy away from the shadows of the past," Irish President Michael D. Higgins said in a statement.

"Her moving words and gestures of respect were deeply appreciated and admired by the people of Ireland and set out a new, forward-looking relationship between our nations – one of respect, close partnership and sincere friendship."

Micheal Martin, Ireland's Taoiseach, said the Queen's death was an "end of an era." He said: "Her state visit to Ireland in 2011 marked a crucial step in the normalisation of relations with our nearest neighbour.

The fans have been slammed on social media
The fans have been slammed on social media
Shamrock faced Djurgardens in the Europa Conference League
Shamrock faced Djurgardens in the Europa Conference League

"That visit was a great success, largely because of the many gracious gestures and warm remarks made by the Queen during her time in Ireland.

"Her popularity with the Irish people was also very evident and clearly made a very positive impact on the Queen. In particular, I recall the warmth of the welcome she received from the public in Cork during her walkabout at the English Market.

"To her grieving family and people, the Irish government join with you in mourning the loss of an exceptional woman who led by quiet and dignified example and who touched so many lives over her exceptionally long reign."

Ireland gained independence from the United Kingdom in 1922.

READ NEXT: