When Sky High Holistic was subject to a police raid, it was hardly the end of the business. In fact, ironically it gave the marijuana dispensary a big boost, $100,000 to be exact.

The money comes from a lawsuit alleging police harassment of the marijuana dispensary, settled by the city of Santa Ana this week. Santa Ana has also agreed to drop charges against a dozen employees accused of illegally operating.

It's a good thing the cameras were on; the dispensary cameras, that is. Apparently, the cops hung around the establishment long after the raid occurred, playing darts and making demeaning comments about the staff. And once they got comfortable, they indulged in Sky High pot-laced edibles.

"The suit alleged that Mayor Miguel Pulido and other city employees favored certain dispensaries over others," the Los Angeles Times reported. "It said the city put up a ballot proposal, Measure BB, for the November 2014 election, soliciting payments from collectives with the promise of winning a spot in an eventual marijuana permit lottery."

Three police officers were charged with petty theft and damaging security cameras when the case first surfaced. For the dispensary and its lawyer, Matthew Pappas, this was a major victory.

“This ruling shows that the court had the courage to say ‘no’ to a very powerful police officer union and stand up for the rights of people when bad things like this happen,” Pappas told the Huffington Post in August 2015.

Superior Court Judge Ronald Bauer was equally outraged by the incident.

“[The officers] should not expect privacy in their on-duty performance of an official function at a marijuana dispensary,” Bauer ruled. “They have made no claim that their work required secrecy or that it would be impeded by public view.”

According to Sky High's attorney, the $100,000 will benefit Sky High volunteers and a doctor affected by the 2015 raid.

Watch: