After two-year legal battle, Future and Rocko have reached agreement, reports TMZ.

Both parties submitted court documents to have the royalties case dismissed. Rocko’s attorneys told TMZ that his client is happy “very successful result.”

Rocko initially sued Future for $10 million for breach of contract stemming a 2011 deal where Future was supposed to release six albums on Rocko's A1 Recordings.

Epic Records was to be a distributor for those six Future albums that never saw release. But Future is accused of cutting a side deal with the label; which means that Rocko lost 25 percent commission on advance money from the releases--and another 20 percent of Future's tour and endorsement earnings. Future later countersued saying his deal with Rocko never made him exclusive to his label, and he also claimed that Rocko owed him money.

Rocko's attorney wouldn't divulge how much money his client received in the settlement, but an insider told TMZ that his payout was in the seven figures.

10 Epic Beefs in Hip-Hop History