You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
In this task you will be given a text passage from a trivia quiz. You should choose the category this question belongs to from these categories: History, Science, Social Science, Fine Arts, Literature. You can only choose one category, so if in doubt, please choose the closest match.

In one work this author details the life of a tomb-maker who makes extra money by playing the organ at an insane asylum, while another of his novels sees Swartz give a refugee proper documentation only after he tells him his life story in the title Portuguese city. In addition to The Black Obelisk and The Night in Lisbon, he also wrote about Robert and Otto selling their auto workshop and visiting Patrice in a Swiss tuberculosis sanatorium in his novel The Three Comrades, while the turbulent life of the German surgeon Ravic is told in The Arch of Triumph. Another of his novels, The Road Back, is thought to be a sequel to his most famous book, in which the patriotic teacher Kantorek convinces Paul Bumer and his friends to join the Germany Army during World War I. For 10 points, name this German author who wrote All Quiet on the Western Front.
Solution: Literature
Why? The text is talking about an author and their works, so it belongs to theliterature category.

New input: This ruler came to power after grand pensionary Johan de Witt and his brother were executed by a lynchmob, ending the Act of Seclusion that had barred him from power since the death of his namesake father. Some of his military exploits included capturing Bonn from the elector of Cologne, and forcing the English into signing the second treaty of Westminster. He would build the Het Loo palace, and with the aid of emperor Leopold I, he'd force the French into signing the treaties of Nijmegen. Partly due to his longtime mistress Elizabeth Villiers, he was invited by a group called the "Immortal Seven"; a refusal to swear oath to his rule resulted in the Glencoe Massacre. That rule would be recognized by the French in the Peace of Ryswick, ending the War of the Grand Alliance. FTP, name this victor at the Battle of the Boyne, a Dutch stadtholder who became king of England after the Glorious Revolution.
Solution:

Show your work and conclude with the exact phrasing "Therefore, the final answer is [answer]." where [answer] is just the final number or expression that solves the problem.
user
History