An El Centro College police officer was wounded in a shootout near a 7-Eleven store in downtown Dallas Thursday evening, according to authorities.

Dallas Area Rapid Transit officers were patrolling near the West End Station when shots rang out around 6:30 p.m. on North Austin Street,  according to a DART spokesman. The El Centro campus is just across the street.

The El Centro officer and a suspect "were engaged in a disturbance regarding a vehicle," according to the Dallas Police Department. The suspect had a warrant out for his arrest. When police tried to take him into custody, he allegedly resisted.

Then gunshots rang out -- striking both the officer and the suspect.

WOMAN CHARGED WITH SPITTING IN COP'S FACE CLAIMS NYPD WAS 'ATTACKING PEOPLE' DURING PROTEST

The DART officers found the wounded El Centro officer, who was taken to Baylor Hospital just up the road. He was in stable condition.

The suspect also was taken to a hospital in critical condition, according to Dallas police.

CLICK HERE TO GET THE FOX NEWS APP

The DART spokesman said that the shooting did not happen on DART property and that Dallas Police were leading the investigation.