I want to know the answer to the following question:
When was Mexico City declared the capital?
All the background I'm provided with is that "Due in large part to the persuasion of representative Servando Teresa de Mier, Mexico City was chosen because it was the center of the country's population and history, even though Querétaro was closer to the center geographically.". Is that enough to answer the question?