Police are looking for a man who was caught on a surveillance camera pulling out a handgun and firing several shots into a north Philadelphia women's shelter where a woman he had been following had gone.

Investigators say it unfolded Thursday afternoon in the city's Logan neighborhood.

Police say a man followed a 36-year-old woman around a drug store after trying to talk to her outside the store and being rebuffed. The woman finished shopping and walked back to a women's shelter a few blocks away.

The man stayed outside the shelter and is seen pulling a gun from a pants pocket and firing three shots into the shelter's glass door before running away.

No one was hurt.