'The X Factor' judges were left shocked when Louis Walsh turned up to auditions.

Louis Walsh

Louis Walsh

The talent show panellists Simon Cowell, Louis Tomlinson, Robbie Williams and Ayda Field were expecting the former judge to rock up when they heard the news that Louis was back - but the Louis in question was in fact a dog with the same name as the music manager.

According to the Daily Star newspaper, Simon joked: "I used to have one called that."

And One Direction star Louis added: "You got a lovely dog. And Louis is a great name!"

The four judges all enjoyed patting the pooch, who was brought to auditions by a wannabe singer.

Upon hearing the mutt's moniker, host Dermot O'Leary decided to introduce the canine to the judges.

Last month, band manager Louis confirmed he was quitting 'The X Factor' after 13 years, but he will still be head judge on 'Ireland's Got Talent'.

He said in a statement: "I've had a fantastic 13 years on 'The X Factor' but the show needs a change and I'm ready to leave.

"I'm looking forward to another series of 'Ireland's Got Talent', going back to my day job as a manager, writing my memoirs and seeing the world!"

Amelia Brown, Thames' managing director, added: "Louis has been a huge part of The X Factor's success since it launched and remains a good friend of the show.

"His contribution cannot be overstated. We would like to thank him for all he has given to the show over the years and look forward to continuing to work with him in the future."