An officer was assaulted Monday night in Olney during a car stop, police said.

Cops said a 35th District officer had a vehicle pulled over at 2nd and Linton streets around 7:15 p.m. when the man inside the car, who was armed with a handgun, got out and threw a few punches at the officer, then attempted to flee on foot.

Police apprehended the suspect about a block and a half away, at Mascher Street and Nedro Avenue. The officer suffered cuts to his face, mouth and hand during the altercation, officials said, and was taken to Albert Einstein Medical Center. He was expected to be treated and released.

The incident started about two blocks from the scene of Sunday morning's fatal police-involved shooting on Mascher Street just south of Nedro Avenue.