A Salt Lake man fired dozens of bullets inside his home Sunday at what he thought were members of a motorcycle gang out to get him.

After Salt Lake police surrounded the house, the 32-year-old man - completely naked - jumped through the glass in the front door.Police responded to 169 E. Coatsville Ave. (1790 South) about 4:50 a.m. Sunday after neighbors reported about 10 shots had been fired from inside the home, said Sgt. Scott Atkinson.

For more than 30 minutes, the man then fired about 30 more rounds from several weapons, including a .45-caliber Uzi submachine gun, a .357-caliber Colt Python, a 12-gauge pump shotgun and a Ruger Mini 14. Two neighboring homes and three cars were also hit by stray bullets.

Some of the bullets even pierced the nearby homes, where residents were lying on the ground, Atkinson said.

"We didn't know what he was shooting at," the sergeant said.

Officers surrounded the home and a SWAT team was making preparations when the man crashed through the front door about 5:30 a.m. He was unarmed - and unclothed - when he jumped through a glass window in the door.

Atkinson said the man was frightened and yelled, "There's been a murder! There's been a murder!" when he came out. He told officers to go inside and find the 18 people he had shot. Officers searched the home but discovered "just him and his imagination."

The man also said one of the members of the motorcycle gang had chased him through the window. The man was treated for scrapes and cuts at Holy Cross Hospital and was then taken to the University of Utah Medical Center's psychiatric unit.