Young Buck has agreed and accepted a plea to serve 18 months in prison for gun possession, which was discovered upon a huge IRS raid on his Nashville home in 2010, TMZ is reporting. According to the celebrity news website, the judge signed off on the plea deal already, but won’t formally sentence the rapper until July 13.

Calls to Buck’s attorney, Robin Mitchell Joyce, weren’t immediately returned.

Buck agreed to plead guilty to possessing firearms and ammunition as a convicted felon. Feds found a .40 caliber Glock 22 in Buck’s home, loaded with ammunition.

Legal documents obtained by TMZ show that federal agents recovered firearms in Buck’s house during a 2010 raid, which had feds busting into the rapper’s home and repossessing his belongings to settle a $300,000 tax debt.

As for the felony rap, Buck was convicted of assault with a deadly weapon after allegedly stabbing a man, who punched Dr. Dre, at the Vibe Awards in 2004.

All this piles even more bad news on the former G-Unit rapper. On Monday (May 21) news broke that Buck was evicted from his Tennessee mansion. A judge ordered that the proceeds from the house being sold go toward paying off the MC’s $333,975.69 debt in unpaid taxes to the IRS.

Last month, the Wall Street Journal reported that 50 Cent, Buck’s former G-Unit boss, is trying to lay claim to his former protégé’s records.

“All compositions created by the debtor have already been irrevocably conveyed to [Curtis] Jackson (and Universal), and G-Unit retains irrevocable rights of ‘every kind and nature,’ including to rights to royalties, copyrights, to renew/extend copyrights and to causes of action,” 50’s attorneys wrote in documents obtained by the WSJ.—Jakinder Singh