The Danish parliament has repealed the nation’s 1683 against blasphemy.

“Religion should not dictate what is allowed and what is forbidden to say publicly,” said a lawmaker who sponsored the repeal. “It gives religion a totally unfair priority in society.”

Prosecutions under the blasphemy law have been rare, but a 42-year-old man was about to go on trial for posting a video of himself burning the Quran.