Follow CBSMIAMI.COM: Facebook | Twitter

BATON ROUGE, La. (CBSMiami/AP) — A federal judge has ruled that Black Lives Matter is a social movement that can’t be sued over an officer’s injuries sustained during a protest in Baton Rouge last year.

READ MORE: North Miami Beach PD Needs Help Locating 15-Year-old Jeimy Henrriquez

A Baton Rouge police officer sued Black Lives Matter and DeRay Mckesson, a prominent activist in the movement. But U.S. District Judge Brian Jackson ruled Thursday that Black Lives Matter is not “an entity of any sort,” and like the tea party or civil rights movement, it can’t be sued.

READ MORE: Former US Rep. Carrie Meek Passes Away At 95

The judge also concluded that Mckesson “solely engaged in protected speech” at the July 2016 demonstration where someone threw a rock at the officer.

The protest followed the death of Alton Sterling, a black man fatally shot by a white police officer.

MORE NEWS: Officer Injured, Suspect Dead Following Coral Gables Police-Involved Shooting

(TM and © Copyright 2017 CBS Radio Inc. and its relevant subsidiaries. CBS RADIO and EYE Logo TM and Copyright 2017 CBS Broadcasting Inc. Used under license. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. The Associated Press contributed to this report.)