DENVER (AP) — A Colorado man has pleaded guilty to federal charges of making and possessing pipe bombs.

The U.S. Attorney's Office says 55-year-old Bradley Bunn pleaded guilty Thursday to one count of making destructive devices and four possession counts. The Denver Post reports that Bunn was heading to a protest against coronavirus-related lockdown restrictions when FBI agents discovered the pipe bombs in his Loveland home May 1.

A sentencing hearing was set in federal court for June 3. Each count carries a maximum penalty of 10 years in prison.

Bunn told investigators that he would “fight to the death” anyone who tried to disarm him, had started to “gear up” for a coming war and would be willing to “take out a few” officers to “wake everyone up,” a federal prosecutor said during a May court hearing.

A federal judge had ordered a mental health evaluation for Bunn as part of the case.