PORTLAND, Ore. (AP) — A federal judge has dismissed a $30 million lawsuit filed by an Oregon State Police trooper who was shot 12 times in December 2016.

Nic Cederberg and his wife sued Legacy Meridian Park Hospital claiming the suspect, James Tylka, should not have been released from the hospital because police requested a mental health hold, KOIN-TV reported.

But the judge ruled it is not reasonable to conclude that holding Tylka would have changed his criminal actions. Last year, the judge also dismissed a lawsuit Cederberg and his wife filed against Washington County’s 911 center.

Cederberg was left with long-term disabilities from the shooting. He has several weeks to file an appeal.