A police officer fatally shot an armed 19-year-old man during a confrontation Tuesday night in North Philadelphia, a department spokesman said.

Shortly after 7:30, a 22d District officer attempted to stop a 2001 Buick LeSabre in the area of 22d Street and Glenwood Avenue, said Lt. John Stanford.

The Buick struck another vehicle at the intersection, then crashed into a building at 2201 W. Glenwood, Stanford said.

A passenger got out and pointed a gun at the officer, who then opened fire, Stanford said. The man was shot multiple times in the torso.

Police took him to Temple University Hospital, where he was pronounced dead at 7:56. His name was not released.

Police recovered a semiautomatic handgun and a revolver from the gunman, Stanford said.

The driver was arrested. No one else was hurt.

Stanford said the shooting was being investigated by Internal Affairs and would be reviewed by the District Attorney's Office.

The officer, whose name was not released, will be placed on administrative duty pending the results of the investigation, Stanford said.

Contact Robert Moran at 215-854-5983 or bmoran@phillynews.com, or follow @RobertMoran215 on Twitter.