query: Who was the first ruler of the Empire of Brazil and when is the reign?
answer: Pedro I ( Peter I; 12 October 1798 – 24 September 1834) was the first ruler of the Empire of Brazil from 12 October 1822 to 7 April 1831.