In the heaviest penalty yet issued in the Iraq war , Sgt . Michael P. Williams was sentenced to life in prison after being convicted of premeditated murder last year in the killing of two Iraqi civilians in Baghdad .