A prosecutor alleges that a man whose Madison apartment was found to contain homemade explosives appeared to be planning an attack on the University of Wisconsin-Madison campus.

The Wisconsin State Journal reports that Brian Campbell pleaded no contest in January to second-degree reckless endangerment and possession of improvised explosives. Police seized what appeared to be bomb-making materials from Campbell's apartment last year.

Assistant District Attorney John Rice claimed in a sentencing memorandum filed Tuesday that Campbell had searched the internet for instructions on making explosives and drew maps of tunnels on the university's campus.

“In short, it seems impossible to ignore the fact that the defendant’s conduct strongly resembled the precursors and/or preparations needed to complete an act of domestic terrorism," Rice wrote in the memorandum.

Campbell's lawyers said Rice's allegations exceed what Campbell admitted last month in his plea agreement.

Tracey Wood, one of Campbell's lawyers, sent NBC15 the following statement in response:

"We are planning to file an objection by tomorrow. We are asking Judge Crawford to sentence based upon those facts to which Brian admitted and for which he has accepted full responsibility. We are requesting the Court not sentence based upon mere speculation."

The plea agreement says prosecutors can't seek a sentence of more than three years in prison for Campbell.

Dane Co. District Attorney Ishmael Ozanne said they will honor that agreement, but the memorandum provides information the court should know before making a decision.

“We will have our agreement. We will basically put forward that agreement, and the court will make their decision as to what the sentence should be- what is appropriate,” Ozanne said.