Mary Byrne has missed out on a place in The X Factor final after being voted off by the judges in the last sing-off of the series.

The Dubliner – who was Louis Walsh’s last remaining act in the competition – lost out after finding herself in the bottom two with Cher Lloyd.

And the judges – who this week were voting for who to send through to the final rather than who to send home – found themselves with a tough decision after both had performed their sing-off songs, Mary singing It’s A Man’s World and Cher performing Everytime.

In the end however Louis was the only person who voted to send Mary through to next week’s final.

“Both of you have done an incredible performance,” Dannii said. “I’m going to choose the person who has the vulnerability mixed with the confidence and the person who tugged my heartstrings with that song was Cher.”

Cheryl also opted for Cher, leaving Simon Cowell with the casting vote.

“This is quite straightforward,” he said. “Mary, I have supported you from the beginning and tonight proved what a good singer you are, and Cher I actually liked that song you just sang because it was like hearing you for the first time.

“I see one of you who can walk away from this competition with pride. The person I am sending through to the final is Cher.”

Afterwards Mary said she had “expected” to be in the bottom two and added, “the highlight for me was definitely meeting the soldiers and doing the single for the guys in Afghanistan.”

Louis Walsh, meanwhile, thanked everyone in Ireland for voting for the 50-year-old.

Mary’s departure means that Cher will compete in next weekend’s final along with Matt Cardle, One Direction and Rebecca Ferguson, all of whom made it through on the public vote.

It also leaves Louis as the only mentor without an act in the final. Dannii and Simon both have one while Cheryl, who is mentoring the girls, has two.

Sunday’s results show also featured performances from the Black Eyed Peas, the cast of the hit show Glee and 2008 X Factor winner Alexandra Burke.