At that time, Mexico was not yet independent of Spain.
那个时候,墨西哥还没有独立于西班牙。
This is what I bought in Spain.
这就是我在西班牙买的东西。
My uncle lives in Madrid, the capital of Spain.
我叔叔住在西班牙的首都马德里。
When Spain colonized the Philippines, they were administrated by Mexico City. So it was Mexican Spanish, not Castilian Spanish, that influenced Tagalog.