The Connecticut State Senate on Thursday voted 16-11, with nine absent or not voting, to approve a bill to legalize recreational use of marijuana, pending Gov. Ned Lamont’s signature.

Connecticut will be joining neighboring states New York and Massachusetts, which have passed similar measures. It became the 19th state in the country to legalize recreational marijuana use.