A French man who allegedly abused more than 300 Indonesian children has died shortly after attempting to take his own life in prison, police said on Monday.
Francois Camille Abello, 65, was detained in June when the police found him in a hotel room with two naked girls in the country's capital Jakarta.
After he was rushed to hospital last week for emergency treatment, Abello was said to be in a stable condition.
However, he later deteriorated due to "brain damage", according to Jakarta police spokesman Yusri Yunus.
In a press conference on Thursday at which Abello appeared in handcuffs, police said that videos on his laptop showed him engaging in illegal sexual activity with 305 children aged between 10 and 17.
Nana Sudjana, the head of the Jakarta police, said most of the French citizen's victims were street children whom he paid the equivalent of between £13.70 and £54.80.
Mr Sudjana added that he beat those who did not follow his orders.
The force is currently investigating whether he benefited financially by exploiting the children via online platforms.
If convicted under Indonesia's child protection laws, Abello could have faced the death penalty.
Additional reporting from Associated Press