 Complete the following phrase:  During the 58-year reign of Pedro II the Brazilian Navy achieved its greatest strength in relation to navies around the world. The Arsenal, Navy department, and the Naval Jail were improved and the Imperial Marine Corps was created. Steam navigation was adopted. Brazil quickly modernized its fleet acquiring ships from foreign sources while also constructing ships locally. Brazils Navy substituted the old smoothbore cannon for new ones with rifled barrels, which were more accurate and had longer ranges. Improvements were also made in the Arsenals shipyards and naval bases, which were equipped with new workshops. Ships were constructed in the Naval Arsenal of Rio de Janeiro, Salvador, Recife, Santos, Niterói and Pelotas. The Navy also successfully fought against all revolts that occurred during the Regency where it conducted blockades and transported the Army troops; including Cabanagem, 