Lil Wayne has been freed from jail after serving eight months in a gun case.
The city's Department of Correction website said the Grammy Award-winning rap star had been released from the Rikers Island jail complex.
"FREE AT LAST!!!!!!!" the rapper's manager, Cortez Bryant, tweeted.
His managers have said he planned to head for his home in Miami, where they're planning a welcome-home party Sunday.
"I was never scared, worried nor bothered by the situation" behind bars, Lil Wayne said on Tuesday through Weezythanxyou.com, a website he set up to give fans a glimpse of his life in jail.
Lil Wayne, who had the best-selling album of 2008 and won a best rap album Grammy with Tha Carter III, kept his career in high gear while locked up for having a loaded gun on his tour bus in 2007.
His latest album, I Am Not a Human Being - released while he was in solitary confinement in September - hit number one on the Billboard 200 chart last month. He also was featured on a string of hits by other artists, including Drake and Eminem, that came out while he was incarcerated.
US president Barack Obama recently told Rolling Stone he has some Lil Wayne music on his iPod. And former President Bill Clinton praised the rapper's abilities on Tuesday, adding that "what I hope will happen is that he has a good life now".
Lil Wayne, born Dwayne Carter Jr, pleaded guilty in October 2009 to attempted weapon possession, admitting he'd had a loaded, sem-iautomatic .40-caliber gun on his bus after a Manhattan concert.
He started a year-long sentence in March but got time off for good behaviour, despite a disciplinary knock that sent him to solitary for the last month of his term.