SAN DIEGO (CNS) - A man who made homemade fireworks in his Del Cerro residence pleaded guilty Tuesday to five counts of possession of a destructive device in a public place.

Scott James Martin, 51, will be sentenced to a two-year prison term at a Jan. 31 hearing.

A bomb squad removed 13 pipe bombs from Martin's home on Madra Avenue on Sept. 9. People moving out of the home found the explosive devices and notified authorities.

According to court documents, Martin's fiancee had called police a week before the bombs were found, saying that Martin was hallucinating.

Investigators later searched a home office and found components used to make bombs, including black powder and improvised flares.

A bomb technician said one of the devices contained 200 times the legal limit of a dangerous firework, according to court documents.

Martin's fiancee told police that he started making the explosive devices at home after volunteering for a fireworks company.