 After the Battle of Chapultepec (13 September 1847), Mexico City was occupied; Scott became its military governor.Many other parts of Mexico were also occupied.Some Mexican units fought with distinction.