According to the affidavit, the school resource officer received video from a witnesses and that lead to his arrest.

PINELLAS COUNTY, Fla. — An arrest affidavit shows a homeless Clearwater man was taken into custody after allegedly exposing himself outside Tyrone Middle School.

The incident happened at the school located at 2375 66th St. N in St. Petersburg.

According to the affidavit, the school resource officer was alerted to the incident and received video from a witness. The video allegedly shows the man exposing himself in front of the school.

Anderson Keller, 26, was arrested and charged with exposure of sexual organs.