Snoop Dogg's legal beef with Pabst Brewing Company has been settled with just under a month before the dispute was set to go to trial.

As previously reported, last June, The Doggfather sued Pabst after an endorsement deal gone bad. Pabst, known for their Blue Ribbon beer and Colt 45 malt liquor, brought Snoop on board in 2011 for an endorsement agreement to promote Blast by Colt 45. Blast was a line of fruit-flavored liquors the brewer created, similar to the Mike’s Hard Lemonade’s and Four Loko’s that were popular at the time. Snoop was to serve as the drink’s brand ambassador from January 2011 to January 2014.

Shortly after the deal was solidified, Pabst was sold to a group of investors for about $700 million. According to Big Snoop, he is entitled to 10 percent of the sale price based on a “phantom equity clause” in his endorsement contract.

In February, it was announced that the matter would be heading to court after Pabst’s attorney, Richard B. Kendall, disputed the rapper’s claims saying they owe the Left Coast legend nothing.

Now both sides have come to an agreement before the trial date set for later this month.

Alex Weingarten, Snoop Dogg's lawyer, sent The Hollywood Reporter the following statement on Friday (Oct. 7): "We are pleased that the parties were able to reach agreement and resolve this matter amicably."

The details of their agreement have not been released.

20 of Your Favorite Rappers Naming Their Favorite Rappers

More From XXL