A man being served with a protection order shot his way past police, set fire to the courthouse and jail - then returned as the fires raged and shot the police chief, officials said.

James Thorlakson, 54, managed to escape again after wounding the chief but was injured during gunfights with officers, officials said. He was arrested at a hospital about 30 miles away.

Both Thorlakson and Cavalier Police Chief Ken Wolf were hospitalized Sunday in satisfactory condition.

Officials said the rampage began Friday when officers tried to serve Thorlakson, of rural Hensel, with a protection order. Sheriff Wayne Samdahl said he could not discuss details of the order.

County and state officials said the fires may have caused $1 million in damage. Askew said Thorlakson's initial court appearance, set for early this week, may be moved from Cavalier because of the damage.

"Our courthouse is not functional, and may not be available," Askew said.