The Brazilian government signed a compensation deal with BHP and Vale over the 2015 disaster, which caused multiple deaths and huge environmental damage.

Mining giants BHP and Vale on Friday signed a deal with Brazil’s government to pay nearly 132 billion reais ($23 billion, €21.3 billion) in damages for a 2015 dam collapse that triggered one of the country’s worst environmental disasters.

The cave-in, at an iron ore mine in the southeastern town of Mariana, unleashed a giant mudslide that killed 19 people, left hundreds homeless and polluted the length of the Doce River.

The mine was owned by Samarco, a joint venture between Vale and BHP.