text: This leader welcomed war as a "nice electrical shock" to his nationality after a neighbor country impounded a merchant steamer with one of his territorial governors aboard.
full_question: This leader welcomed war as a "nice electrical shock" to his nationality after a neighbor country impounded a merchant steamer with one of his territorial governors aboard. This man's governess Mariana de Verna dominated as part of the Courtier Faction. Peasants who feared higher taxes from this man's enforcement of the metric system broke scales and weights in public. This husband of Teresa Cristina of the Kingdom of Two Sicilies put down the Praieira Revolt in Pernambuco. This man abdicated due to Deodoro da Fonseca's republican coup. He sent armies under the Duke of Caxias to help fight Francisco Solano Lopez in the War of the Triple Alliance. For 10 points, name this man whose daughter Isabel signed the Golden Law to end slavery, the second and final emperor of Brazil.
first_sentence: This leader welcomed war as a "nice electrical shock" to his nationality after a neighbor country impounded a merchant steamer with one of his territorial governors aboard.
raw_answer: Dom Pedro II