Police shot and wounded a burglar who pulled a gun this morning when he they confronted him inside a house in Northeast Philadelphia, authorities said.

The suspect was treated at Albert Einstein Medical Center for a leg wound and released to detectives for questioning.

The 24-year-old man, who lives in the same neighborhood, is expected to be charged.

Lt. Frank Vanore, a police spokesman, said an officer responded about 3 a.m. to a burglary call on the 1400 block of Fanshawe Street in the Castor neighborhood.

A resident of the house met the officer on the street and reported that a second-floor light that had been turned off was now on and that someone was moving inside the house, Vanore said.

The officer called for backup and when police entered the house they saw a man running toward the rear door, Vanore said.

In the kitchen, the man pulled a semiautomatic handgun and an officer fired once, hitting the suspect in the leg, the spokesman said.

There were no other injuries.

The officer who fired his gun has been placed om modified assignment while Internal Affairs investigates the shooting, which is standard procedure.