the ninth amendment of the constitution
Napoleon had invaded Spain proving how weak it was, leading country's to revolt after years of discontent.
Brazil gained its independence on September 7th, 1822, when Dom Pedro proclaimed Brazil's independence after an antagonistic relationship with Portugal proved too much for the Brazilian people. It all began when Napoleon I invaded Portugal in 1807.