Berkeley on Tuesday declared itself a sanctuary city for marijuana use.

The Berkeley City Council voted unanimously to become a sanctuary city for legal adult-use marijuana, the San Francisco Chronicle reported.

The resolution prohibits city agencies and employees from assisting in enforcing federal marijuana laws and share information on legal cannabis activities, the report said.

“I believe we can balance public safety and resisting the Trump administration,” Mayor Jesse Arreguin said at Tuesday’s council meeting.

The resolution is a message of support to the cannabis industry and one of resistance to the federal government, the report said.

The Drug Enforcement Agency and federal prosecutors often rely on local agencies to provide information and manpower for their operations, the Chronicle reported, citing experts.

The experts told the paper it would be difficult to prevent a federal enforcement operation from cracking down on a particular provider, but noncompliance would slow attempts of federal enforcement.

Arreguin acknowledges the resolution is a symbolic stand, KTVU reported.

“We’re keeping with the strong position Berkeley is a sanctuary for people in our community,” Arreguin said.

But he added an amendment that would allow city police to cooperate with the DEA for investigations involving gang or criminal activity, the station reported.