More than a million convicted felons in Florida had their voting rights restored Tuesday.

Constitutional Amendment 4 — known as the Voting Restoration Amendment — was passed in the state, allowing nearly 1.5 million convicted felons who’ve served out their sentence to vote.

The measure doesn’t apply to anyone convicted of murder and felony sex offenses.

Prior to the amendment, convicted felons in the state had to wait five years after serving out their sentence and then apply with the Florida Clemency Board for the right to vote. The governor then needed to personally approve their petition to have their rights restored.

Backers of Amendment 4 included the American Civil Liberties Union, the conservative Koch brothers-backed group Freedom Partners — as well as Ben & Jerry’s.

Stars like John Legend and Rihanna also expressed their support for the measure.

Detractors argued the amendment didn’t differentiate between people who committed violent crimes and those who committed non-violent crimes. Florida Gov. Rick Scott and Rep. Ron DeSantis opposed the measure.

On Tuesday, the Sunshine State also voted to ban dog racing involving wagering by 2020. And by passing Amendment 9, Floridians voted to ban both indoor vaping and offshore oil and gas drilling.