When Napoleon invaded Portugal in 1807, some 15,000 people — the entire royal court — fled across the Atlantic to Brazil on British ships. For the first time in history, an empire was governed not from Europe but from a colony in the Western and Southern Hemisphere. A king who loved birdsong and sacred music now ruled Portugal from Rio.