Rapper Pooh Shiesty has been sentenced to five years and three months in federal prison for a gun charge in Florida.

JADA PINKETT SMITH 'HURT' TUPAC WHEN SHE ASKED HIM NOT TO BEAT UP WILL SMITH YEARS AGO, FRIEND CLAIMS

Lontrell Williams Jr., 22, was sentenced Wednesday in Miami federal court, according to court records. He pleaded guilty in January to conspiring to possess firearms in furtherance of crimes of violence and drug trafficking. The Tennessee native had been facing up to 20 years in prison.

YOUNG DOLPH SHOOTING SUSPECTS PLEAD NOT GUILTY IN MEMPHIS

As part of a plea deal, prosecutors dropped three charges, including a gun charge that had a possible maximum sentence of life in prison. According to court records, the charges related to three separate events.

Rapper Pooh Shiesty performs onstage during 2021 Shiesty Season Spring Fest at Central Station on April 11, 2021 in Atlanta, Georgia. 

Rapper Pooh Shiesty performs onstage during 2021 Shiesty Season Spring Fest at Central Station on April 11, 2021 in Atlanta, Georgia.  (Paras Griffin/Getty Images)

Williams was inside a car in Memphis, Tennessee, in July 2020 when an occupant of the car discharged a firearm at a gas station, officials said. Three months later, Williams was part of an armed group that shot and wounded two people and stole marijuana, codeine and high-end sneakers at a hotel in the Miami-area town of Bay Harbor Islands, Florida, authorities said. Finally, Williams shot and wounded a security guard after a performance at a Miami strip club in May 2021, prosecutors said.

CLICK HERE TO GET THE FOX NEWS APP

Pooh Shiesty first gained attention following collaborations with Gucci Mane and other rappers. He released his debut commercial mixtape, "Shiesty Season," last February. It peaked at No. 3 on the US Billboard 200.