Two Chicago police officers were shot and wounded in the line of duty Sunday morning on the West Side.

The shooting happened around 7:30 a.m. as the officers responded to a nearby Shotspotter alert, Chicago police said.

They were shot as they approached a man they observed in a vacant lot near where the Shotspotter went off. There was no chase and no interaction, according to police.

"Let's be clear this offender turned and immediately tried to kill these officers by firing a gun and hitting both of them," said CPD Supt. David Brown.

One officer was able to return fire and the suspect was also wounded. Police said a gun was recovered, ABC7 reports.

Both officers are said to now be resting at home, recovering from their injuries after one was shot in the hand and the other in the hip and shoulder, according to officials.

The suspect has not been identified and his condition has not been released. However, police did say he is a convicted felon.