Vladislav Miftakhov, an 18-year-old student at Penn State University (PSU) - Altoona, has pled guilty to a charge of building bombs without a federal license.

According to the Associated Press, Miftakhov built the explosives at his off-campus apartment, though authorities did not know what he planned on doing with the bombs. The guilty plea reportedly came after months of negotiations with the student's public defender and the prosecution.

The defense argued Miftakhov did not wish to harm anyone or anything with the explosives, but simply to make noise. The San Carlos, Calif. native was arrested Jan. 24 after the apartment building's landlord tipped police off to the student's marijuana garden on the premises.

When the police searched Miftakhov's apartment, they found a device containing half a pound of potentially explosive materials. The judge rescheduled the initial plea hearing to Thursday from Aug. 19. The judge has also set the sentencing hearing to Dec. 11.

The defense successfully got Miftakhov released from jail in Feb., the AP reported, arguing that the prosecution was unfairly linking the case to the Boston Marathon bombings. In both cases, the alleged perpetrators were born in Russia, but the defense said the similarities ended there.

Before Miftakhov was released, U.S. District Judge Kim Gibson reversed the decision by raising public safety concerns. Prosecutors brought forth evidence of anarchy symbols in his apartment as well as a note rolled up in a bullet casing that read, "If you find this, you will never find me." Assistant U.S. Attorney James Kitchen said the prosecution could not identify Miftakhov's intentions.

The terms of the plea agreement were not made clear, but a typical sentence for the production of an explosive without the proper licensing is up to 10 years in prison, a $250,000 fine and three years of probation.

Though the defense argued that Miftakhov only meant to cause a racket with his bomb, one of the student's friends testified the unexploded device found in the apartment was 60 times the size of one he previously witnessed the defendant detonate.