The protests led to the resignation of President Carlos Mesa .