Updated

A Temple University police officer was killed in the line of duty Saturday night near the Philadelphia campus, Pennsylvania Gov. Josh Shapiro said. 

Sources told FOX 29 Philadelphia that the shooting happened near 18th Street and Montgomery Avenue. The police officer was shot in the head, according to the source, who added that a student was carjacked around the time of the shooting. 

Philadelphia police

Police investigating a fatal shooting involving a Temple University officer. (FOX 29)

"Lori and I are devastated for the family of the Temple University police officer who was killed in the line of duty tonight, bravely serving his community," Shapiro tweeted Saturday. "We’re sending prayers to his loved ones, Temple Police, and the entire @TempleUniv community. May his memory be a blessing." 

MEMPHIS POLICE OFFICER DEAD AFTER LIBRARY SHOOTING

Philadelphia hospital

A Temple University police officer was killed in the line of duty Saturday night near the Philadelphia campus, Pennsylvania Gov. Josh Shapiro said.  (FOX 29)

CLICK HERE TO GET THE FOX NEWS APP 

A spokesperson for Temple University told Fox News Digital that the suspect "fled towards center city," adding that the university is working with the Philadelphia Police Department.

This is a developing story. Check back for updates.