The Nevada State Athletic Commission today moved quickly to approve a settlement with suspended UFC welterweight Nick Diaz, voting unanimously to reduce the onetime title challenger’s five-year suspension to 18 months with a $100,000 fine.

Diaz’s suspension runs retroactively to his Jan. 31, 2015 fight with Anderson Silva at UFC 183, which produced the positive test that resulted in his third suspension with the NSAC. He is eligible to fight Aug. 1, per the terms of the settlement.

The NSAC announced its unanimous vote on the settlement today during a meeting in Las Vegas. The five-member commission did not deliberate on the matter and didn’t discuss any portion of the settlement before approving it. Diaz was not present at the meeting, nor was his counsel from Las Vegas firm Campbell and Williams, which frequently represents the UFC in litigation.

Diaz’s manager, Lloyd Pierson, said the fighter won’t be making any immediate comment on the matter and doesn’t yet have a fight lined up.

Hunter Campbell, a managing partner at Campbell and Williams, told MMAjunkie in an email: “With respect that Nick will be able to fight again beginning Aug. 1, I’m pleased with the outcome of the settlement.”

Pierson said of the settlement: “It’s been an ongoing process, since almost immediately following the original hearing. This is a compromise that we’ve been working on. Campbell and Williams and Seham, Seham, Meltz and Petersen did a great job in getting Nick back to fighting.”

Diaz’s settlement, which MMAjunkie obtained and can be viewed here, was signed Monday by the fighter. The agreement requires him to pay the NSAC fine before his next fight or Dec. 1, whichever occurs first. He agrees to provide clean urine samples 30, 15, and three days from his next bout in Nevada for all prohibited substances in- and out-of-competition. (It should be noted that marijuana is not prohibited out-of-competition, rendering moot Diaz’s tests for the drug.)

Diaz also agrees to file his application for a fight license at least 30 days from his next bout. If Diaz again tests positive, he is subject to disciplinary action by the NSAC. If he decides not to fight in Nevada, he is merely bound to the terms of his amended suspension.

Court costs from the settlement will be split by the fighter and the commission, which also agree not to take further legal action against each other and waive the right to appeal the decision to higher courts. The parties do not admit any liability in the matter.

“The commission’s approval of this agreement does not constitute approval of or a precedent regarding approval of any principle or issue for any other purpose or for any other party except those involved in the specific agreement,” the settlement states.

This past September the NSAC suspended Diaz for five years and fined him $165,000 for failing a third drug test in the state. All three of his infractions have been for marijuana, most recently following the UFC 183 loss to Silva. (Silva failed tests for steroids at the same event and was suspended for one year, and the official result is now a no-contest.)

At a contentious hearing, Diaz attorney Lucas Middlebrook argued the commission violated the fighter’s due process. He called an expert witness to discredit the positive drug test, which was sandwiched between two tests performed by a WADA-accredited lab that came back negative.

The commission’s then-legal rep, Nevada Deputy Attorney General Chris Eccles, argued the conflicting results didn’t invalidate each other and pointed to Diaz’s pre-bout questionnaire on which he certified he hadn’t used marijuana in the one month prior to the bout with Silva.

Diaz also testified and repeatedly invoked his right to self-incrimination when questioned by NSAC commissioner Pat Lundvall. Afterward, the fighter and his lawyers blasted the five-year suspension and indicated they would appeal the results to a higher court.

In the weeks following the initial NSAC ruling, Diaz posted on his official Instagram account and said his legal team has been working with the NSAC, and the talks were “going well,” hinting a reduction in punishment could be in his future.

The MMA community showed overwhelming support for Diaz after his penalty was handed down – at least insomuch that the consensus was the punishment didn’t fit the crime.

Many fighters rallied behind Diaz, whose reputation as one of the “bad boys” of MMA probably didn’t help his case in front of the NSAC in September. In addition, a White House petition to lift the five-year ban hit more than 100,000 signatures, which was the threshold required for an official White House comment.

Diaz’s petition was also championed by his former opponent, ex-welterweight titleholder Georges St-Pierre, as well as several celebrities, from comedian Katt Williams to musicians Wiz Khalifa and Cher.

Perhaps the biggest show of support for Diaz publicly came from Ronda Rousey, who counts herself as one of Diaz’s friends, and who has trained with him in the past. Before she lost her women’s bantamweight title to Holly Holm at UFC 193, she went on the record for Diaz, saying his penalty was like getting a life prison sentence for unpaid parking tickets.

For more on the UFC’s upcoming schedule, stay tuned to the UFC Rumors section of the site.