A firearms charge resulted in roughneck Atlanta rapper Gucci Mane (pictured) receiving a sentence of 39 months in prison and a travel restriction, according to the Atlanta Journal-Constitution (AJC).

SEE ALSO: Woman Files For Maternity Of Beyonce And Jay-Z’s Baby

Mane, who was already a convicted felon and whose actual name is Radric Davis, took a guilty plea back in May so he wouldn’t face a 10-year prison sentence.

Last September, Atlanta police responded to a call about a person armed with a handgun who was behaving erratically. When officers arrived at the scene, they were flagged down by the caller who admitted he was concerned about his friend’s behavior.

Police approached Mane and attempted to speak with him, but he reportedly became irritated by the line of questioning and hurled curses and threats at the officers. After taking Mane in to custody, investigators reportedly stumbled upon a handgun, 11-rounds of ammunition, and a small amount of marijuana in his possession.

At the time of his last arrest, Mane had already run afoul of the law quite a number of times since 2001 and had a lengthy rap sheet, involving violence, drugs, traffic offenses, and even a murder charge in 2005 that was later dropped. Back in 2011, the hip-hop star was even committed to a psychiatric hospital for evaluation, after getting arrested for alleged reckless driving.

The charges were eventually dropped, but Mane nonetheless faced possible revocation of his probation from a previous crime. Mane was released from the mental health facility a few weeks later, and at the time, no information was publicly given on why he was allowed to leave the facility or what it meant for his probation status.

Regarding his present crime, Mane has already spent 11 months in a cell, so he has 28 left to serve. Mane’s lawyers have requested that their client be placed not only in a drug program but that he be moved to a West Coast prison, away from the negative connections he has established in Atlanta.

Upon his release from prison this go-round, the courts have mandated that he be allowed to leave the Northern District of his home state no more than seven days a month with his probation officer’s permission. Mane told the U.S. District Court presiding judge, Steve Jones, his tours typically last about 15 days.

Before Mane left the courtroom, Jones reportedly had a few choice words for the rapper with the laundry-list-long rap sheet, “You’re a young man, You have a full life before you. … I see a lot of famous people move outside the line,” said Jones. “And if [you] continue to break the law, you’re going to wake up one morning broke. You’re going to wake up one morning back in prison.” Jones then went on to quip, “I don’t mean any disrespect,” said Jones, “but according to young people, my nieces and nephews, you are quite cool.”

Mane, who was then reportedly led out of the courtroom with his ankles in chains, waved to his fans, who were present to support him during the sentencing.