SEMINOLE COUNTY, Fla. -

A Seminole County deputy has been arrested after investigators said he had inappropriate contact with a teenage girl.

David Rodriguez, 28, is accused of messaging the 17-year-old on Facebook, soliciting her for sex, according to Indian River County deputies.

Deputies said Rodriguez had known the girl for several years through martial arts tournaments they both attended.

Rodriguez was arrested after the girl's father notified the Indian River County Sheriff's Office in mid-July.

The Seminole County Sheriff said Rodriguez will lose his job as a deputy. He has patrolled the Altamonte Springs area since February 2010. He was given a written reprimand after crashing an agency vehicle two different times but has no other discipline on his record.

Deputies said Rodriguez told investigators he wrote the messages, but the two never had sex.

Some of the Facebook messages Rodriguez sent to the teen include, "I wish you could send me pics. But not till ur 18," and "what place do you want to have sex at."

Rodriguez faces one count of lewd computer solicitation of a child and was booked into the Seminole County jail on a $50,000 bond.