Chile has announced it will hold a referendum on the country’s constitution following weeks of anti-government protests.
Protesters are demanding social reforms and a change to the constitution which dates back to the pre-democracy era of the military leader, Augusto Pinochet.
The vote will take place in April.
At least 20 people have died and about 1,000 have been injured in protests that started over a hike in subway fares.
The “Agreement for Peace and a New Constitution” was signed at midnight following long negotiations.
The referendum will ask voters if they want the constitution to be replaced.
It will also ask voters who think it should be replaced to choose between three different bodies to draw up a new constitution. The options are a body of fully elected representatives, political appointees or an equal mix of both.
The current constitution does not currently establish the state’s responsibility to provide healthcare and education, which are two demands from the protesters.