FORT LAUDERDALE (CBSMiami/AP) — An appeals court has overturned a stalking injunction placed on a man who disagrees with a state senator’s view on sex offenders.

The 4th District Court of Appeal ruled Wednesday that the injunction violated Derek Logue’s free speech rights and did not meet other Florida legal requirements.

READ MORE: What To Do To Stay Safe Around Water This Summer At The Pool Or Beach

The injunction barred Logue from several forms of contact with or proximity to Democratic state Sen. Lauren Book, a well-known supporter of strict offender laws involving child sexual abuse.

READ MORE: Parental Rights Bill Sent To Florida Governor Ron DeSantis

Logue had protested Book’s appearance at a children’s march in Tallahassee. He also criticized her publicly at a New York film festival and through social media and blog posts.

A lower court granted the injunction, but the appeals judges found Logue’s conduct fell short of the legal definitions necessary for one.

MORE NEWS: Coral Gables Man Refuses To Sell Family House Swallowed By Massive Development

(© Copyright 2019 CBS Broadcasting Inc. All Rights Reserved. The Associated Press contributed to this report.)