Rapper Fetty Wap was sentenced to six years in prison by a Long Island federal judge Wednesday for his part in a bi-coastal drug ring.

The hip hop star — whose real name is Willie Junior Maxwell II — and five others were accused of driving to Long Island about six times in the spring of 2020 and buying kilograms of cocaine then sold in New York and New Jersey.

The Paterson, NJ, native was personally accused of dealing 25 kilograms of the drug in the Garden State.

The 31-year-old “Trap Queen” rapper pleaded guilty in August to one count of conspiracy to possess and distribute more than 500 grams of cocaine and faced a minimum of five years and a maximum of 40 years behind bars for the crime.

Central Islip federal Judge Joanna Seybert handed down the sentence/

Last week, prosecutors recommended that Maxwell — who has been locked up since August — receive between seven years and three months to nine years behind bars claiming he was a “large-scale narcotics trafficker” who “continues to use his fame, sizable platform and influence to glamorize the drug trade.”

Fetty Wap was sentenced to six years in prison in a drug case.
Getty Images

Fetty Wap's family and friends walking into court.
His family and friends came to court for the sentencing where he faced between five and 40 years behind bars.
Dennis A. Clark

The feds cited as an example his breakout hit, “Trap Queen” which Maxwell wrote about an ex-girlfriend who helped him peddle drugs in Paterson.

Maxwell’s lawyer, Elizabeth Macedonia, said that her client should be sentenced to the minimum claiming he’s taken “full responsibility for his crimes.”

The lawyer said Maxwell was motivated to start dealing drugs so that he could continue to provide for his family and friends — including his eight children — after his concert revenues dried up because of the pandemic.

Drugs seized by law enforcement in the case.
The rapper pleaded guilty in August to one count of conspiracy in the bi-coastal drug case.
Suffolk County District Attorney / MEGA

Drugs seized by the feds.
The hip hop star allegedly made six trips to Long Island in the spring of 2020 where he bought drugs and then resold them in NJ and NY, prosecutors say.
Suffolk County District Attorney / MEGA

Maxwell was arrested on Oct. 29, 2021 and had been free on $500,000 bond until he allegedly violated the conditions of his release by threatening someone on a FaceTime call with a gun on Dec. 11, 2021.