Long before The Wall of Game of Thrones was born in the genius mind of G.R.R Martin, the Philippines had its own version and if walls, forts, conquerors, thievery, usurpation and social class were to be the basis of blockbuster hits, the history of the Philippine capital could have made the list.
The City of Manila started from a take over. As in every ancient take over, there was blood shed between the pre-hispanic Muslim settlers of the Kingdom of Maynilad and the aspiring owners of the soon-to-be established capital of the Philippine Islands.
The Spanish conquistadores with their then modern warfare managed to get what they came for despite resistance from the original residents of Manila. In the end, sticks and stones bowed before metals and explosives and came a walled city, designed to resist revolutionaries, invaders and unwanted personalities from entering the fortitude that surrounded the government that the Spaniards established.
The walls were said to be 4.5 kilometers in length that surround a pentagonal area of 45 hectares. Think 45 Rugby fields where residences, churches, palaces, schools, and government buildings are situated. While Christian natives and Chinese residents were allowed inside, they were prevented from taking up residence as the residential areas within the walls were reserved for the Spaniards and Mestizos (Filipinos with mixed heritage). Entry was through gates with drawbridges which close at midnight and open at the break of dawn.
I would like to think that with a bulwark bordered by keep towers and forts, invaders would be wary to attack and loot but no, that did not happen.