Michigan Gov. Rick Snyder signed legislation on Friday that extends the filing deadline for this year's Flint election, which includes the mayoral and council races.

The legislation ensures that candidates who filed petitions with the necessary signatures will be place on the ballot for the primary election this August.

In a news release, Snyder said "it's important that Flint voters have their voices heard regarding who their next mayor will be. I appreciate the quick actions of the Legislature in seeking a solution for this situation and working together to get it done."

The legislation was sponsored by Senator Jim Ananich of Flint and allows the Michigan Bureau of Elections to adjust the filing deadline for this year only. It also authorizes pre- and post-election reviews in Flint through 2017.