On August 24 , 1821 , representatives of the Spanish crown and Iturbide signed the Treaty of CÃ rdoba . This recognized Mexican independence under the terms of the Plan of Iguala .
On August 24 , 1821 , representatives of the Spanish crown and Iturbide signed the Treaty of CÃ rdoba , which recognized Mexican independence under the terms of the Plan of Iguala .