The prosperity enjoyed during the first two centuries (1540–1740) while contributing to colonial growth; the placing of extensive regional judicial authority (Real Audiencia) as part of its jurisdiction; and the pivotal role it played at the height of the Spanish Empire – the first modern global empire – helped define a distinctive sense of autonomy and of regional or national identity within Panama well before the rest of the colonies.