The search is on for an attempted rapist in Brooklyn.

Police say the man followed a woman to her Bensonhurst apartment Saturday afternoon, then pushed his way inside and exposed himself before forcing her onto a couch.

It happened around 1:30 p.m. near 17th Avenue and Bay Ridge Parkway.

The woman managed to fight off her attacker, though she was slapped in the face repeatedly.

She received medical treatment at the scene.

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