The turnaround in Iraq was also due to other factors -- including Sunni former insurgents turning against al Qaeda and a ceasefire by radical Shi 'ite cleric Moqtada al-Sadr -- but Petraeus has received widespread credit for his leadership .