Victims targeted in shootings at three locations, including a restaurant and a hotel, as police say they are looking for a bald white man in his 40s

A gunman killed one person and wounded five others Wednesday in a rampage that included a motel shooting, a carjacking and a home invasion and ended with his arrest at a nearby apartment in suburban Phoenix.

The suspect was taken into custody after officers spotted him on an apartment balcony and deployed a stun gun. Numerous officers later led a handcuffed man to a truck parked outside an apartment complex. Police did not immediately release his identity.

The incident started with an argument inside a room at a motel and spilled outside, leaving three people wounded, Mesa detective Esteban Flores said. The suspect then shot a person at a nearby restaurant and carjacked a gray Honda Accord. Two more people were wounded at separate apartment complexes, including one during a home invasion.

The shootings prompted an intense hunt for the suspect as Mesa police searched the trunks of cars, interviewed witnesses and brought in Swat and canine units from other agencies. Flores warned people in the neighborhood to remain indoors.

Several locations in the area were placed on lockdown amid a heavy law enforcement presence. The Arizona Department of Public Safety sent its Swat team to Mesa to assist with the effort, DPS spokesman Bart Graves said. Scottsdale police also sent Swat and canine units.

The shootings occurred near the East Valley Institute of Technology. Nearby Mesa Community College issued an emergency alert, saying its campus was on lockdown and anyone already there should proceed to the safest location. The shooting scene is also near a light rail line that travels through the metro Phoenix area.

Vinny Carbone owns an auto body shop near the shootings. He was getting ready to open up when he heard a man yell “help, help.” He later saw a woman outside the motel with what looked like a bullet hole in her side.

“Right now, our hearts and prayers are with the people of Mesa, the individuals affected by this tragedy, and all law enforcement and first responders working to assist the victims,” Arizona governor Doug Ducey said.