1D's Liam Payne sorry for high-rise ledge photo

FILE - This is a Saturday, May 26 2012 file photo of One Direction member Liam Payne as heperforms in concert, in New York. Payne said Wednesday Jan. 15, 2014 that he is sorry for being "stupid and irresponsible" after standing on the ledge of a high-rise with a city that appears to be London behind him.(AP Photo/Charles Sykes, File)

LONDON (AP) — One Direction member Liam Payne says he is sorry for being "stupid and irresponsible" after he was photographed standing on a building ledge 34 stories above the ground.

A photo published Wednesday in British tabloid the Sun shows the boy-band singer standing on the ledge of a high-rise with a city that appears to be London behind him.

The 20-year-old said in a statement that "I regret being there and having a photo taken. It was a stupid and irresponsible thing to do."

He urged fans not to imitate his "extremely dangerous" behavior.

The band emerged from Simon Cowell's British TV series "The X Factor" in 2010 and became one of the world's top-selling groups, with three albums topping U.S. music charts.