So the title states clearly the challenge, but it is lets say a multitiered challenge, it can be made under any kind of circumstances and events possible, it could be an imperial capital city of a united iberian nation, a city state, having OTL borders, some spanish autonomy becoming independent...