HARRISBURG, Pa. (AP) – Pennsylvania is moving to join 18 other states and ban the purchase of cigarettes and other tobacco products by people under 21, although it’s maintaining an exception for military veterans or service members who are at least 18.

Gov. Tom Wolf’s office said he’d sign legislation that passed both chambers of the state Legislature on Thursday.

READ MORE: Defense Rests Without Putting Sheldon Jeter On Stand, Lawyers Present Closing Arguments

Under it, the legal age to buy tobacco products will rise from 18 to 21 in Pennsylvania, unless a person meets the military service exception. The higher age takes effect next July 1.

READ MORE: Police: Idaho Man Suspected In Multistate Crime Spree, Including Armed Robberies In Pittsburgh Area, Arrested In State Of Indiana

Tobacco products include electronic cigarettes and natural and synthetic nicotine products.

The American Lung Association says 50% of the United States’ population already lives in a state or community that has passed a law raising the age to buy tobacco products to 21.

MORE NEWS: Dispute Over Ownership Of Underground Pipe On Seavey Rd. Complicates Repairs To Prevent Flash Flooding

(Copyright 2019 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)