BANGKOK (AP) — The head of Thailand’s state railway has been sacked by the country’s military government after a public furor over the rape and killing of a 13-year-old girl in her berth on an overnight train.

The ruling junta, which took power in a May 22 coup, broadcast a decree Thursday evening ordering State Railway of Thailand Governor Prapas Chongsa-nguan to leave his post in order to make railway operations more orderly. He had earlier declined to resign to show responsibility.

Police arrested a railway worker for the rape and killing of the girl traveling Saturday night from the south to Bangkok. Police say he confessed and tossed her body from the car. It was not found until Tuesday morning. The crime sparked a public outcry calling for capital punishment for rape.