Treaty of Córdoba
Spain did not recognize Mexico's independence until December 28 , 1836 ( when they signed the Santa María–Calatrava Treaty ) . 
<triplet> Santa María–Calatrava Treaty <subj> December 28, 1836 <obj> point in time