A 66-year old Clay County man has been arrested on a charge of solicitation of a child for sex after a meeting was set up with an undercover detective posing as a girl, according to the St. Johns County Sheriff’s Office.

Gary Alan Fernandez of Honeysuckle Circle in Middleburg was additionally charged with solicitation of a parent or guardian, traveling to meet a minor for sex and unlawful use of a two-way communication device, according to the Sheriff’s Office.

The case began last month when an Internet Crimes Against Children detective began communicating with a man later identified as Fernandez on an e-commerce site, the Sheriff’s Office said. After two weeks of communication, the “girl” was asked to meet him Wednesday for sex.

When Fernandez showed up about 10:30 a.m. at the undisclosed St. Johns County location, he was taken into custody without incident, the Sheriff’s Office said.