DUNEDIN, Fla. — A 22-year-old Safety Harbor man was caught looking at women in bathing suits and masturbating inside his vehicle Friday on the Dunedin Causeway.

Pinellas County Sheriff deputies say they caught Jacob Lawrence Morris after he unintentionally parked next to an unmarked Pinellas County Sheriff deputy's cruiser while pleasuring himself.

According to arrest reports, Morris pulled over several times near where women in bathing suits were sunbathing. According to the deputy, Morris was inside of his parked truck masturbating with his window down on the beach portion of the Dunedin Causeway. Detectives watched as he circled the beach portion of the causeway for approximately 15 minutes pulling over several times where female subjects were sunbathing.

Read more from ABC News.