A woman at a midtown apartment complex was arrested Tuesday after she tried to take out a SWAT tactical robot with a microwave oven.

Police were called to the Palm Court Inn, 4425 E. 22nd Street at 11:35 a.m. after tenants reported hearing gunshots coming from one of the apartments. Earlier that morning the complex manager tried to evict a man living in the apartment. After a confrontation, the manager left, and that’s when neighbors reported hearing gunshots, Sgt. Chris Widmer, spokesman for the Tucson Police Department, said.

Officers arrived at the complex and saw a woman breaking out window glass from inside apartment with what appeared to be a shotgun, they evacuated the other residents, Widmer said.

When the man and woman refused to leave the apartment, a tactical robot equipped with a camera was sent in so SWAT members could see what was happening inside.

Just after 1 p.m., “as the robot approached the door, the woman exited with a microwave and threw it at robot,” Widmer said.

She missed.

Before she could duck back into the apartment, SWAT members grabbed her. The man in the apartment then surrendered, Widmer said.

The investigation is ongoing and charges are pending.