Complex sentence: He came to the Brazil, where the Rio de Janeiro, was hired and accepted the service of Prince Regent Peter to July 3 in 1822, the rank of brigadier general, because of shortage of officers in the newly organized army.
Split into simpler sentences: He came to Brazil, where in Rio de Janeiro he was hired and accepted the service of Prince Regent Peter on July 3 in 1822. He was given the rank of brigadier general, because of the shortage of officers in the newly organized army.