I want to know the answer to the following question:
What treaty was signed?
All the background I'm provided with is that "During this battle, on September 13, the 4th Division, under John A. Quitman, spearheaded the attack against Chapultepec and carried the castle.". Is that enough to answer the question?