Legislation aimed at bolstering contracts involving legal marijuana-related businesses has been signed into law by Gov. Jerry Brown.

AB 1159 clarifies that cannabis contracts that comply with state and local law can be enforced so long as they carry a disclaimer that marijuana remains illegal under federal law. Medical marijuana has been legal in California since 1996. But the legality of contracts involving dispensaries, growers and related businesses has often been challenged in state courts.