Michael Albert Mesaros

Courtesy Pima County Sheriff's Department

A man was taken into custody Thursday for shooting at deputies who responded to a northside apartment complex for reports of shots fired, authorities said.

Michael Albert Mesaros, 26, is facing two counts of attempted second-degree murder, possession of a weapon by a prohibited  person and criminal damage, said Deputy Jesus Bañuelos, a Pima County Sheriff's Department spokesman.

Mesaros also had an outstanding warrant for failure to appear, Bañuelos said.

At 2 a.m. Thursday, deputies were dispatched to an apartment complex in the 1900 block of West Magee Road for a shots fired call, said Bañuelos.

There were reports that people in the complex saw a man running with a gun. When deputies arrived, they heard a gunshot and began a search to locate the shooter, Bañuelos said.

Deputies located Mesaros, and a handgun in an apartment, said Bañuelos.

Detectives wth the robbery assault unit said Mesaros intentionally fired his weapon at the first patrol vehicle to arrive at the complex. The patrol vehicle was struck once on the hood, and the deputies were unharmed, Bañuelos said.

Three other vehicles in the parking lot, and one building sustained damage from gunshots, he said.