Donald Patrick, 47, of Waukegan.

A Waukegan man has been charged after he allegedly climbed into a police building in Chicago while SWAT was training and pointed two of their guns at them before being shot, officials said.

Donald Patrick, 47, of the 600 block of North County Street in Waukegan, was charged with five counts of aggravated assault on a peace officer and three counts of felony burglary.

The incident happened around 12 p.m. Monday at the Chicago Police Department’s Homan Square facility, 3340 West Fillmore Street in Chicago.

Patrick asked a security guard in the parking lot where he could go to retrieve personal property, according to Chicago Police Superintendent David Brown.

One of the units in the facility is the police department’s Evidence and Recovered Property Section.

The guard directed the man towards where he should go but Patrick ignored the guard.

Patrick walked to a fire escape and began climbing five stories, video surveillance showed, Brown said.

[Suggested Article]  Man facing numerous charges after allegedly fighting, injuring multiple officers in Waukegan

He entered the building through a propped open door to the fire escape on the fifth floor.

Members of the SWAT team were conducting a training exercise and had some of their guns on a table.

Patrick picked up two of the guns, which had non-lethal rounds in them, Brown said.

Brown said Patrick pointed the two guns at officers in the room and one of the officers then shot the man.

Patrick was transported to Stroger Hospital with non-life-threatening injuries.

An officer suffered a minor non-gunshot injury and was also transported to the hospital.

Brown said that Patrick has prior arrests for drugs and burglaries.

Patrick is scheduled to appear in Cook County court on Wednesday for a bond hearing.

The Civilian Office of Police Accountability is investigating the incident.