Hoping to end mounting nationwide protests , President Carlos Mesa of Bolivia announced plans late Thursday for the election of a citizen assembly to write a new constitution and for a national referendum on greater regional autonomy .