LOS ANGELES (AP) - A slight marijuana smell wafted out as a steady stream of customers walked into a warehouse, its doors and windows covered by bars.
Suddenly, police swooped in.
"Sheriff's department! Search warrant!" a Los Angeles County deputy shouted as the team thundered through the front door and began hauling out people in handcuffs.
The Compton 20 Cap Collective just south of Los Angeles that was raided earlier this spring is one of hundreds of illegal marijuana stores operating in LA County, where marijuana is legal for anyone 21 and over and retailers must be licensed to sell to them.
Broad marijuana legalization arrived in California at the start of the year. From the beginning, there was concern the legal market would be undercut by the massive black market that has existed for decades.
And that's what's happening. Nowhere is it a bigger problem than in the state's biggest legal local marijuana market: Los Angeles County.
The number of outlaw dispensaries in the county greatly outnumbers about 150 licensed storefront retailers.
That reality is a buzzkill for those trying to play by the rules.
Legal pot shops are losing customers who can get products more cheaply at illegal outlets that don't charge or pay taxes, said Adam Spiker, executive director of the Southern California Coalition, a trade organization that represents cannabis growers, distributors and dispensary owners.
It's an "unfair competitive situation for licensed businesses," Spiker said.
"I think if you turn the tables and took cannabis out of the equation - if it was another industry that didn't have the stigmas - the government would do everything they could to give those licensed business paying taxes a level playing field."
One of the selling points for legalization was it would generate a tax windfall for state and local governments. However, during the first quarter, the state reported only $34 million from cultivation and excise taxes, putting it on pace to fall well below the $175 million forecast for the first six months.
In April, state regulators sent nearly 1,000 cease-and-desist letters to cannabis businesses they suspected were operating illegally. An analysis by the trade publication Marijuana Business Daily found about 64 percent of the businesses were in the Los Angeles metropolitan area.
Last month, the Los Angeles city attorney's office charged 142 people as part of a crackdown on illegal dispensaries. It also sent cease-and-desist letters but declined to say how many.
Los Angeles County boasts the nation's largest sheriff's department, but even it has nowhere near the manpower to take down all the illegal pot shops. A task force overseen by Lt. Frank Montez raids an average of one dispensary a week.