For 10 points, name this man who was overthrown by Manuel Deodoro de Fonseca in 1889, thus becoming the last emperor of Brazil.
Though he is not from the eighteenth century, this man was mocked in periodicals such as The Mosquito and The Meddler. An unsuccessful revolt against Decree 798 and other parts of his attempt to take a national census is sometimes known as the "war of the wasps," and peasants destroyed scales to protest this man's new system of weights and measures in the "Smash the Kilos" revolt. This man's fight over whether bishops could expel freemasons from their churches is known as the "Religious Question," and his son-in-law, the Count d'Eu, was derisively known as "The Frenchman." Abraham Lincoln is said to have remarked that this man was the only one he trusted to arbitrate the U.S. Civil War. He eliminated the practice of kissing the royal hand upon returning from a trip to Europe, during which his daughter Isabel enacted the Law of the Free Womb, which freed children of slaves in his country. For 10 points, name this man who was overthrown by Manuel Deodoro de Fonseca in 1889, thus becoming the last emperor of Brazil.
Though he is not from the eighteenth century, this man was mocked in periodicals such as The Mosquito and The Meddler.
Dom Pedro II de Alcantara [there's a bunch of other names after this, but I don't reasonably expect anyone to give them]