BISMARCK, N.D. (AP) — A Denver woman accused of shooting at officers during protests in North Dakota against the Dakota Access oil pipeline has been sentenced to 4 years and nine months in federal prison.

Authorities accused Red Fawn Fallis of firing a handgun three times while resisting arrest in October 2016. No one was hurt. She pleaded guilty Jan. 22 to civil disorder and a weapons charge in a deal with prosecutors in which another weapons charge was dropped.

She was sentenced Wednesday during a 5 ½-hour hearing, in a courtroom packed with dozens of her supporters.

Prosecutors recommended seven years in prison, with the defense asking for no more than 2 ½ years.

Federal Judge Daniel Hovland called it “a very serious case that could have escalated into something far worse.”