Washington's state Senate voted Thursday to eliminate some vaccine exemptions amid a measles outbreak hitting the state.

The bill to eliminate personal or philosophical exemptions from the measles, mumps and rubella (MMR) vaccine passed by a 25-22 vote in the Democratic-controlled chamber on the legislative deadline, the Washington Post reported.

ADVERTISEMENT

No Republicans voted for the measure, and two Democrats voted against it.

The bill will now have to be approved by the House, which passed a similar measure last month, before heading to Gov. Jay Inslee Jay Robert InsleeBarr asked prosecutors to explore charging Seattle mayor over protest zone: report Bottom line Oregon senator says Trump's blame on 'forest management' for wildfires is 'just a big and devastating lie' MORE's (D) desk for final approval.

California and Vermont voted to remove personal exemptions in 2015.

Religious and medical exemptions will still be allowed for all vaccinations, including MMR.

The bill's passage through the Senate comes as the state faces a measles outbreak.

There have been 74 confirmed measles cases in Washington and, as of last week, the current outbreak has sickened 555 people across 20 states.

Maine’s legislature is awaiting floor votes in both chambers for a bill that would eliminate all nonmedical exemptions for MMR. A similar proposal is advancing in Oregon, despite strong anti-vaccine sentiments in parts of the state.