... This lasted until the next emperor, Dom Pedro II was deposed in 1889 and a republican based federation was adopted. Brazil received an influx of over 5 million ...