A sick Brazilian boy died after his father blew up the money that was raised for the child’s medical treatment on hookers, drugs, and parties instead, according to reports.

Two-year-old Joao Miguel Alves died at his home in Salvador, Brazil, last Thursday, Oct.17, after battling with spinal muscular atrophy. It is a degenerative disease that causes muscle weakness, Daily Mail reported.

The little boy was diagnosed with the neuromuscular disorder when he was just 7 months old. His condition required him to take doses of a costly drug, Spinraza, which costs $90,500 a dose in order to prevent the disease from advancing, the outlet reported.

His family had raised nearly $250,000 to keep him alive. But his father, 37-year-old Mateus Henrique Leroy Alves, wasted the funds, according to Brazilian outlet Pleno.

As the 2-year-old boy couldn’t get his medication until August this year, the government stepped in to pay for the child’s first three doses of the drug. Joao Miguel was seriously ill for a week before dying.

Mateus was arrested on July 22 after his wife noticed several large withdrawals from the account meant for the boy’s treatment, the report said.

The father was arrested at a luxury hotel where he had stayed as he threw at least $150,000 on parties, jewelry, and hookers in addition to liquor and drugs. He had also “invested” over $12,000 in a brothel in Conselheiro Lafaiete.

Alves told officers that he had been extorted but authorities were unable to find evidence of such an attempt, Pleno reported. He was charged with larceny and material neglect of his family.

“He remains in detention. There has already been a hearing… the sentence is scheduled to be released next month,” said investigator Daniel Gomes, according to a report by The Sun.