Ed Sheeran has secretly written Westlife's comeback single.

Ed Sheeran

Ed Sheeran

The Irish band - who went their separate ways six years ago - are desperate to emulate the success they had during the 90s by appealing to a younger audience so have recruited the 27-year-old superstar to pen their new reunion track.

A source told The Sun newspaper: "Westlife have really been pulling out all the stops for their big comeback and were desperate to get Ed on board.

"It took quite some time to pull together and has been done totally behind closed doors, but he has finally given them the right record to make it happen.

"Having Ed involved is a huge coup. They think he will give them a contemporary edge for their reunion. They have already recorded the song and are delighted with the results. They're just pulling together the final promo details including a video before they unveil it. It's going to be huge."

The group - comprised of Nicky Byrne, Kian Egan, Mark Feehily and Shane Filan - are no strangers to working with big names in the industry as they've previously teamed up with the likes of Mariah Carey, Diana Ross and Lionel Richie.

Westlife - which used to include Brian McFadden until he quit the group in 2004 following a number of fallings out - recently signed a new deal with Universal.

Their manager Louis Walsh sparked speculation that they were reunited last year when he said that he had spoken to Ed and James Arthur about writing for them.

He said at the time: "I want to give them notice to write some really good songs."