WENATCHEE, Wash. – A student who was elected as an Associated Students of Washington State University senator is accused of communicating with a minor for immoral purposes.

On May 5, Homeland Security agents working undercover had contacted Eduardo Ramos, 20, on the social media site Grinder. Court documents said the agent was posing as a 14-year-old boy that was interested in sex. Ramos agreed to meet with the boy at the Comfort Suites later that night, according to court records.

Agents took Ramos into custody in the parking lot of the hotel. According to court documents, Ramos admitted that he knew he was meeting a 14-year-old boy and admitted to stopping at Walmart to buy condoms. He was then booked into the Chelan County Jail for communicating with a minor for immoral purposes.

ASWSU leaders said Ramos was an incoming senator for the Edward R. Murrow College of Communications at Washington State University and had not been sworn in. Ramos resigned August 24 amid these allegations. ASWSU leaders said an application for the Communications senate seat is open.