(KTEN) — The Oklahoma Senate has given final approval of a measure to strengthen the state's fight against the illegal purchase of Oklahoma farmland.

Senate Bill 212 prohibits non-U.S. citizens from directly — or indirectly through a business entity or trust — owning land in Oklahoma. The measure aims to block foreign control of marijuana farms.

The legislation says any deed recorded with a county clerk will require an affidavit attesting that the land is lawfully being obtained in compliance with Oklahoma law.

The bill, which the Senate passed 40-6, now heads to Gov. Kevin Stitt's desk.

If signed into law, it would go into effect on November 1.