who was the leader of mexico in 1845