A man was shot Sunday night as he drove off from an attempted carjacking near the border of the Chatham neighborhood on the South Side.

About 10:30 p.m., the 55-year-old was stopped at a red light in the 8700 block of South King Drive when two people walked up to him and demanded his vehicle, according to Chicago Police.

As the man sped off, the people opened fire and struck him in the leg, police said. He drove himself to Christ Medical Center in Oak Lawn, where his condition stabilized.

A police officer sets down an evidence marker where a shell casing lies at the scene where a man was shot Sunday night in the 200 block of East 61st Street in Chicago. | Tyler LaRiviere/Sun-Times

An hour after the shooting, officers taped off an area near 87th and Lowe Avenue, over a mile west from the the shooting, as part of their investigation, police said.

Area South detectives were investigating the shooting.