NORFOLK, Va. (WAVY) — A Virginia Beach man thought he was soliciting a 14-year-old girl for sexual acts, police say, but it was actually an undercover investigator.

25-year-old Sean O’Leary, of Bay Head Drive in Virginia Beach, was arrested this week in Ocean View by Norfolk police.

Police say O’Leary had been sharing sexual explicit photos and proposing sex acts multiple times with the undercover officer from November 2019 until the day of his arrest.

He’s been charged with four counts of taking indecent liberties with a child under the age of 15 and three counts of solicitation of a minor under the age of 15.