A federal judge on Monday threw out a lawsuit by four Orange County medical marijuana users who contended citywide bans on pot dispensaries in Lake Forest and Costa Mesa violated the Americans with Disabilities Act.

U.S. District Judge Andrew Guilford rejected the argument that laws prohibiting pot dispensaries in the two cities conflicted with the disabilities act or with the plaintiffs’ access to public services.

Guilford initially sided with the cities last month, citing federal law that prohibits the sale of marijuana, but then later agreed to listen to arguments made by the patients, Marla James, Wayne Washington, James Armantrout and Charles Daniel DeJong.

The plaintiffs, each of them Orange County residents, argued that they use marijuana to treat various medical ailments.