Colombia’s Congress approved a revised peace agreement with a rebel group Wednesday night after an earlier version was rejected by voters.

ADVERTISEMENT

The revamped version went through Congress instead of a referendum, avoiding the potential for another narrow defeat at the ballot box, the New York Times reported.

The Colombian government has been in conflict with the Revolutionary Armed Forces of Colombia (FARC), a communist guerrilla group, since the mid-1960s.

Under the agreement, FARC rebels will hand in weapons, form a political party and move to transition zones over the next six months, leaving the army to move into rebel-controlled territory in hopes of stemming an influx of drug traffickers.

It is harsher on FARC than the previous version, and changes include placing greater restrictions on rebels’ movements and requiring them to disclose drug trafficking routes, the Los Angeles Times reported. And FARC must also give the government asset inventories in order to pay reparations to victims.

The decades-long civil war has killed more than 200,000 people.

President Juan Manuel Santos was a major backer of the deal, while former President Alvaro Uribe led the movement against the agreement.