A woman was out jogging in Snug Harbor on the north shore of Staten Island on Monday morning when a man approached her from behind, covered her mouth, and attempted to rape her, according to the NYPD.

The victim, whose name has not been released, managed to escape the attacker and call for help. The suspect fled, and was arrested after a brief search.

According to the police, the 39-year-old woman was jogging past the Snug Harbor Cultural Center and Botanical Garden at 1000 Richmond Terrace around 9:05 a.m. on Monday when she was attacked. The suspect, 39-year-old Denis Hernandez of New Brighton, Staten Island, approached her from behind and allegedly covered her mouth with his hand. He then inserted an "unknown object" into her mouth to stifle her cries, and attempted to drag her into the woods, according to police.

The woman, who cops say was visiting New York from outside the country, managed to break free and run for help, quickly calling 911 with a description of her attacker.

Hernandez was arrested a few blocks from the scene, at the corner of Fillmore and Tysen streets. He's charged with attempted rape, assault, kidnapping, and unlawful imprisonment.

The victim was treated at Richmond University Medical Center, but cops said she didn't sustain any serious injuries.

In April, a man tried to rape a woman jogging in Prospect Park. The NYPD has since released video showing the suspect, as well as a sketch.