Police in Brooklyn are investigating a pair of attempted sexual assaults that happened just blocks away from each other.

Authorities are looking for the man seen above in connection with both incidents.

The first incident happened around 2:30 a.m. Thursday near Sterling Place and Albany Avenue in Crown Heights, according to the NYPD.

Police say he followed a 22-year-old woman into her apartment building, but they say she was able to kick him and spray him with mace when he tried to attack.

About an hour later, police say he followed a 32-year-old woman into her apartment near Pacific Street and Nostrand Avenue.

Authorities say he approached her from behind and put his hand over her mouth, but police say she was able to fight him off.

"It's really scary because I think that I have always felt very safe in this neighborhood, and as a New Yorker, especially in an area that's active and that's lit, I always feel very, perhaps too safe or invincible. So knowing that it happened right here is really scary," said one resident in the area.

"It actually worries me because I actually have a wife and she comes home late sometimes, so it's like, you weren't expecting to hear about that," said another.

Anyone with information on the case should contact the Crime Stoppers hotline at 1-800-577-TIPS, or text CRIMES and then enter TIP577, or visit www.nypdcrimestoppers.com.