Neighbors escaped injury Sunday when a man fired gunshots toward their Avondale home before barricading himself inside his house and taking his own life, police said.

About 12:45 p.m., police responded to a house in the 500 block of East Hill Drive for reports of a man in his front yard with a shotgun, spokesman Reuben Gonzales said. The man fired several shots in the direction of a neighboring house, then barricaded himself inside his own house.

There were five people inside the neighboring home but no one was injured, Gonzales said.

Avondale and Goodyear police set up a perimeter and attempted to negotiate with the man but were unable to talk with him, Gonzales said. After about 4� hours, police sent in a tactical robot and discovered the man lying on the living room floor. He was identified as Reynaldo Reyes, 40.

Officers went in and found him dead from an apparent self-inflicted gunshot wound to his torso, Gonzales said. He was home alone.