*50 Cent has lost his bid to recover over $10 million from incarcerated rapper Young Buck after the alleged debt was wiped out as part of the ex G-Unit member’s bankruptcy filing.

Young Buck, real name David Brown, declared broke status in 2010 after running into serious tax troubles, prompting IRS agents to raid his Tennessee home and confiscate his possessions.

50 filed a claim with Young Buck’s bankruptcy trustee seeking the repayment of $171,000, the outstanding balance of a $300,000 personal loan, while the G-Unit head honcho also teamed up with executives at parent company Universal Music Group to demand the return of $10 million over a contract dispute.

However, a judge has since ruled Young Buck no longer has to pay the two creditors and has written off the debts, according to TMZ. Instead, the remaining $330,000 of the rapper’s funds will be split between the IRS, his bankruptcy trustee and the lawyers handling the case.

Meanwhile, there has been more good news for Young Buck – he is reportedly set to walk free from prison in late November. He is currently serving out an 18-month sentence for tax evasion and unrelated weapons charges.

50 booted Buck out of G-Unit in 2008 after the hip-hop mogul accused him of disloyalty.