The search for a missing man ended Thursday afternoon after he was found dead in the toilet of the train he boarded a day earlier. Edy Haryanto, 55, reportedly boarded the round trip train for Jakarta from the central Javanese town of Tegal, but family members waiting at the destination were shocked to find him missing.

According to a local newspaper Detikcom, Edy went missing when the train arrived at Gambir, a station on the way to Jakarta.

Trapped in the toilet Edy's body traveled back and forth between Tegal and Jakarta before a janitor reported a lavatory door locked from inside.

An investigation into the matter found Edy's body. There were at least seven unanswered calls on his cell, the paper reported.

The cause of death was unclear but it was reported that Edy suffered from a heart condition.