Suffolk singer-songwriter Ed Sheeran has achieved his first UK number one single after Sing climbed to the top of the official charts.

Sheeran’s single, which was co-written and produced by US star Pharrell Williams, sold nearly 124,000 copies over the last seven days, according to the Official Charts Company.

It knocked Sam Smith’s Stay With Me off the top spot.

Sheeran, 23, who grew up in Framlingham, has achieved international fame in recent years.

He celebrated the news on Twitter, saying: “It’s official ! My first UK number 1 single. Thank you to everyone who supported it. Very happy right now.”

Sing, which he has already performed live on BBC’s Graham Norton Show and ITV’s Britain’s Got Talent in recent weeks, is from his latest album x (pronounced multiply), which is set for worldwide release on June 23.

It follows Sheeran’s 2011 debut + (“plus”), which went 22 times platinum worldwide and was the highest selling debut for a male British solo artist in the United States.

It made Sheeran the biggest selling British artist since 2011.

He further gained popularity in the US when featuring in singer Taylor Swift’s track Everything Has Changed on her album Red in 2012.