At least one woman was killed and another injured near a Pittsburgh bus stop in front of a cop, according to a report.

The undercover officer was on patrol around 11:30 a.m. when he noticed a woman sleeping under a bus shelter near Sixth Avenue and Smithfield Street, the Pittsburgh Police Department said

As the cop was talking to the woman, a male suspect approached her with a knife. The suspect stabbed the woman before slashing a second woman — a passerby who may have been wearing a hijab, police said.

The assailant was subdued by the officer and apprehended, authorities said.

“The officer took immediate action, got the person down on the ground, got him in custody and then immediately started first aid on female to help her out,” Pittsburgh Police Chief Scott Schubert told KDKA.

Emergency responders provided aid on the scene to both of the victims. The first woman died from her injuries while the second victim was listed in stable condition, authorities said.

“At this time there is no evidence to suggest that this attack was racially or religiously motivated,” police said in a statement. “The woman at the bus stop was not wearing religious garb, but the second victim may have been wearing a hijab. Police are investigating and will explore all possible motives.”