Critics argue that it's an ill-advised bill that goes against federal law.

The United States attorney for Connecticut has said the federal government can prosecute those who grow pot.

"If the state Legislature is flying in the face of federal law, why are we having this discussion?" Sen. Michael McLachlan, R-Danbury asked.

Gov. Dannel Malloy commended the General Assembly for passing the bill. He said he will sign it into law. When he does, Connecticut will join 16 other states and the District of Columbia where medical marijuana is legal.