With guerrillas harassing his line of communications back to Veracruz, Scott decided not to weaken his army to defend Puebla but, leaving only a garrison at Puebla to protect the sick and injured recovering there, advanced on Mexico City on August 7 with his remaining force. The capital was laid open in a series of battles around the right flank of the city defenses, the Battle of Contreras and Battle of Churubusco. After Churubusco, fighting halted for an armistice and peace negotiations, which broke down on September 6, 1847. With the subsequent battles of Molino del Rey and of Chapultepec, and the storming of the city gates, the capital was occupied. Scott became military governor of occupied Mexico City. His victories in this campaign made him an American national hero.