BATON ROUGE, La. — A federal appeals court says a Louisiana court rightly dismissed a deputy's lawsuit accusing Black Lives Matter and several leaders of inciting violence that led to a deadly 2016 attack on law enforcement officers.

The Advocate reports a three-judge panel of the 5th U.S. Circuit Court of Appeals in New Orleans unanimously supported the lower court's ruling Wednesday. A judge found last year that the lawsuit failed to state a plausible claim for relief.

The suit doesn't name the officer but its description of the plaintiff matches East Baton Rouge Parish Sheriff's Deputy Nicholas Tullier, who was critically wounded by 29-year-old Gavin Long. Long killed three law enforcement officers and was later gunned down by authorities.

The attack occurred less than two weeks after a white Baton Rouge officer killed 37-year-old black man Alton Sterling during a struggle.