For the first time, a child has been legally euthanized in Belgium. Back in 2014, officials passed a controversial law that makes voluntary euthanasia legal for minors. Officials did not release many details about the case, but told reporters that a terminally ill 17-year-old became the first person euthanatized under the law.

The law says that terminally ill minors who have the “capacity of discernment” and the approval of their parents can be considered for euthanasia.

The head of the nation’s euthanasia commission explained to the BBC that the teen was “suffering unbearable physical pain.”

Currently, only two countries in the world allow for euthanasia of children, the Netherlands and Belgium. In the Netherlands where euthanasia makes up 2.8% of all deaths, children as young as 12 may be considered.