He is due to be replaced in February by Maj. Gen. John F. Kelly , who was assistant commander of the 1st Marine Division when it converged on Baghdad with the 3rd Infantry Division at the outset of the war .