The election is just two weeks away, and if you were sad that you weren't going to be able to take a selfie with you ballot, you're now in luck!

The Detroit Free Press says a federal court ruled that "Michigan's prohibition of ballot selfies was a violation of the First Amendment right to free speech."

A lawsuit had been filed in U.S. District Court in Grand Rapids after a man took a selfie of his ballot in 2012 and posted it on social media without knowing it was illegal and punishable up to 90 days in jail or a $500 fine.

Michigan Secretary of State Ruth Johnson, through Attorney General Bill Schuette, filed a motion on Monday afternoon saying they intend to appeal the ruling. They asked for an injunction arguing it's too close to the election and  will create "disruption and delays."

More From WFNT