Pittsburgh Pirates reliever Felipe Vazquez was arrested Tuesday morning in Pittsburgh and charged with three felonies, including statutory sexual assault and unlawful contact with a minor, among other charges in Pennsylvania and Florida.

The authorities began investigating Vazquez, 28, last month after they “obtained information that Vazquez had a reported sexual relationship with a 13-year-old female victim” in Lee County, Fla., according to a news release from the Florida Department of Law Enforcement. Vazquez was charged in Florida with computer pornography offenses, including solicitation of a child.

The girl is now 15 and had still been communicating with Vazquez by text message, according to the law enforcement department, which said in the release that Vazquez had sent text messages to the girl “suggesting they would meet for sex after his baseball season was over.”

Vazquez appeared in court in Pittsburgh on Tuesday afternoon via video link from a jail in Allegheny County, Pa., and was denied bail, with the judge saying she believed he was a flight risk, according to The Pittsburgh Post-Gazette.