Brazil was claimed for Portugal in 1500 and remained a Portuguese colony until it declared independence in 1822, making it Portugal's largest and most important colony in the Americas. Brazil was the center of Portugal's empire and the seat of the Portuguese court during the Napoleonic Wars.