Pittsburgh Pirates relief pitcher Felipe Vazquez admitted to police that he had sexual contact with a 13-year-old girl hours before a game in 2017 and exchanged nude photographs and videos with her, according to a criminal complaint released Wednesday by the Pennsylvania State Police.

Vazquez was arrested Tuesday and charged with three felonies, including statutory sexual assault and unlawful contact with a minor. The age of consent in Pennsylvania is 16.

Vazquez was also charged with computer pornography offenses in Florida, where he lives in the off-season and where the girl’s family also lives now. The authorities said at a news conference Wednesday that the girl, who is now 15, was the victim in both the Pennsylvania and Florida cases. Vazquez was held without bond in an Allegheny County jail after a judge denied him bail on Tuesday.