Petaluma police and the Sonoma County sheriff's bomb squad were searching an eastside home early Tuesday after police found an explosive device at the residence.

Officers evacuated as many as three nearby homes to the Quarry Street residence Monday night when a suspicious device first was discovered, said Lt. Tim Lyons.

As well as evacuating the homes, officers closed Quarry Street overnight and it remained closed Tuesday morning. It's a route to nearby Corona Creek Elementary School and police notified school officials of the incident, Lyons said.

"We evacuated a couple of nearby houses as a precaution," Lyons said. "There is no danger to the school."

The incident began at about 5:30 p.m. Monday when officers were called to the Quarry Street home regarding a despondent man who could be armed with a gun.

The man, who wasn't identified, gave up without an incident. Officers searched his home and found a gun, as well as the suspicious device, which Lyons said could be a pipe bomb.

The county bomb squad responded to deal with the device. Petaluma detectives also sought a search warrant for a more extensive search and by about 4 a.m. the bomb squad, wearing full protective gear, was inside the home.