Rapper Fetty Wap pleaded guilty on Monday in a New York federal court to conspiracy to distribute and possess controlled substances.

The hip-hop star, born Willie Junior Maxwell II, was indicted in September 2021 for allegedly conspiring to distribute heroin and fentanyl in Long Island.

He now faces a five-year mandatory minimum sentence and remains in custody after his bond was revoked earlier this month.

Maxwell was arrested on October 28, 2021, during the Rolling Loud Music Festival in Queens, New York. He and five others were charged with conspiring to distribute and possess controlled substances across Long Island and New Jersey.

Maxwell initially pleaded not guilty to the charges. He was released on a $500,000 bond on November 5, 2021, but was arrested in New Jersey on August 8 on charges he violated the conditions of his pretrial release.

The rapper displayed a gun and threatened to kill “John Doe” during a December 11, 2021, FaceTime call, according to federal prosecutors.

The FBI obtained a video recording of the call in which Fetty Wap “is shown holding a gun and pointing it towards John Doe,” according to the affidavit.

“The defendant then says to John Doe ‘Imma kill you and everybody you with,’ which he then repeats one more time. The defendant then continues to threaten John Doe, saying ‘I’m gonna kill you,’ a threat which he repeats several more times throughout the video call,” the affidavit said.

ABC News has reached out to the rapper’s representatives but a request for comment was not immediately returned.

A sentencing date has yet to be set in this case.

Copyright © 2022, ABC Audio. All rights reserved.