The hunt is on for a man who police say tried to sexually assault a woman in Brooklyn earlier this week.

Investigators say the suspect followed a 36-year-old woman to her apartment building in Williamsburg just before midnight on Wednesday.

The woman let him inside after he said he was there to visit someone else.

When they got to the third floor, police say he attacked the victim.

The woman started screaming and her son came outside, scaring the man away.

Anyone with information about the case is asked to call Crimestoppers by calling 1-800-577-TIPS, by texting TIP577 to CRIMES, or by going to NYPDCrimeStoppers.com.