BOSTON (AP) — Gov. Charlie Baker has signed a bill making Massachusetts the latest U.S. state to require people be at least 21 before they can buy cigarettes, tobacco or vaping products.

Massachusetts joins California, Hawaii, Maine, New Jersey and Oregon with similar bans. The Massachusetts law takes effect in January.

READ MORE: 'In Like A Lion': March Weather Brings Drastic Swing In Temperatures This Week

The bill to boost the minimum purchasing age from 18 to 21 had received overwhelming final approval in the Democratic-controlled House and Senate and was signed into law by the Republican governor on Friday.

READ MORE: South Attleboro MBTA Station Closes Due To 'Deteriorating' Pedestrian Bridge

Baker said the new law broadens existing prohibitions on public smoking to include e-cigarettes, and prohibits the use of tobacco products on the grounds of any primary, secondary, or vocational school.

The law also bans the sale of tobacco products by any pharmacy that offers health care services.

MORE NEWS: Johnson & Johnson Vaccine 'Particularly Good For Mass Vaccination Campaigns,' Boston Doctor Says

(© Copyright 2018 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)