A man who was convicted of having sex with his lover on a beach in Florida back in May was sentenced to two-and-a-half years in prison on Monday.

The man, 40-year-old Jose Caballero and his lover Elissa Alvarez, 21, were convicted with two counts of lewd and lascivious behavior for having sex in front of bystanders in broad daylight on July 20, 2014, the Washington Post reported.

The couple was videotaped having sex on a Manatee County beach and witnesses said a 3-year-old girl saw them doing the deed.

Caballero, however, told the jurors in court that the witnesses were mistaken. The jurors then listened to a graphic testimony from the witnesses, as well as watching a video of Alvarez moving on top of Caballero in a sexual manner, according to the Associated Press.

Lewd and lascivious exhibition in front of a child is considered a second-degree felony; therefore, both of them will be registered as sex offenders.

Caballero will be serving a two-and-a-half year prison sentence because he was previously convicted for drug trafficking and served eight years in prison. Alvarez, meanwhile, was given a time-served sentence, according to TMZ.