The British singer-songwriter rose to fame on The X Factor in 2010 with One Direction.