Iraq's Shiite cleric Muqtada al-Sadr announced he would quit politics, and his supporters stormed government buildings in protest.