A man who was allegedly caught exposing himself in Brooklyn earlier this week is now accused of attempted rape.

Police say they arrested 32-year-old Zurry Hinds on Tuesday morning in Flatlands. 

He is now also accused of attacking and trying to rape a woman just blocks away on August 29.

Police say the woman was walking home near East 55th Street and Avenue J when Hinds grabbed her from behind, threw her to the ground and groped her. 

He is facing several charges, including attempted rape, forcible touching and public lewdness.