Two Indonesian women who were on travel visas to Malaysia were jailed for three months by a Kuantan magistrate’s court on Wednesday after pleading guilty to providing sexual services in the city early September.

At about 2:30pm on Sept. 1, the two accused, aged 28 and 35, were arrested separately in rooms 303 and 309 at a budget hotel in Kuantan town center after they offered sex services to undercover officers during a sting investigation, the China Press reported.

On top of violating Section 372B of the Penal Code, which carries a maximum jail term of one year, a fine or both, the court heard the pair also breached their conditions of stay as they were in Malaysia on travel visas.

The magistrate handed down a sentence of three months to the two, who would be referred to the Immigration Department pending repatriation.