Niall's got a bit of a thing for Katy and James rates Tamera

Niall Horan has proposed to Katy Perry.

The One Direction singer, 20, jokily popped the question after Katy, 28, called him ‘cute’ during her appearance on The X Factor last night.

John Mayer‘s girl was chatting about how she helped send Niall – who was put into 1D on the show – through to Boot Camp during her stint as a guest judge in 2010.

‘I love you @katyperry ! Thank you! Ps . Will u marry me?’ Tweeted Niall.

Last year, the pair gave each other a kiss when Katy presented Niall‘s group with the Best Video Gong at the MTV VMAs and later enjoyed a cheeky flirt on Twitter.

Niall isn’t the only X Factor star who’s got down on one knee in jest recently – last year’s winner James Arthur took a liking to contestant Tamera Foster after Saturday night’s show.

‘I was a little bit shocked by Kingsland Road being in the bottom two, and James could see I was upset about it so he started joking about,’ Tamera, 16, tells Metro.

‘He said: “I’ve been Tweeting about you and I want to make you smile – will you marry me?” I didn’t give him an answer – I was just laughing. I already have a boyfriend.’

SEE PICTURES Niall Horan and One Direction win big at Teen Choice Awards in LA with Miley Cyrus and Selena Gomez

SEE PICTURES Niall Horan and One Direction dance Gangnam Style at French music awards bash

SEE PICTURES Life before One Direction: Funny photos from Harry Styles, Niall Horan and Louis Tomlinson‘s school days

Anna Duff

VIDEO: OMG! Emergency services are called to Liam Payne‘s £2m flat after fire


VIDEO: Zayn Malik admits he hasn’t set a wedding date


VIDEO: Harry Styles locks lips with James Corden


VIDEO: One Direction’s Harry Styles supports Cancer Research UK

VIDEO: One Direction coming soon


VIDEO: Teen Now meets One Direction part 1

 VIDEO: Teen Now meets One Direction part 2

VIDEO: One Direction at Capital FM Jingle Bell Ball part 2