Member of Navy Arrested, Charged With Attempted Rape: San Diego Police

The victim is also in the Navy, according to San Diego police.

— -- A member of the Navy was arrested and charged with attempted rape, allegedly of another member of the service, according to the San Diego Police Department.

After the neighbor called 911, he yelled through the window that police were on their way, police said.

When officers arrived, the neighbor alerted them to a man running out of the victim's backyard, police said. Officers weer able to apprehend the man in a canyon area near the victim's home.

The suspect was identified as 39-year-old John Neuhart, and an initial investigation revealed that Neuhart and the victim are acquaintances, as well as both being members of the U.S. Navy, police said.

The victim was with friends at downtown San Diego hotel when she recognized Neuhart and talked for a period of time, police said. Neuhart went with the victim when she left the bar and followed her into her home, police said.

Neuhart then allegedly attempted to sexual assault the victim, but she fought him off, police said. He was charged with one count of attempted rape by force and one count of assault with intent to rape.

ABC News could not immediately reach Neuhart for comment, and it is unclear if he has obtained a lawyer.

The Navy did not immediately respond to ABC News' request for comment.