Task: Question Generation
Input (English): Passage: The palazzo remained the principal Medici residence until the last male Medici heir died in 1737. It was then occupied briefly by his sister, the elderly Electress Palatine; on her death, the Medici dynasty became extinct and the palazzo passed to the new Grand Dukes of Tuscany, the Austrian House of Lorraine, in the person of Francis I, Holy Roman Emperor. The Austrian tenancy was briefly interrupted by Napoleon, who used the palazzo during his period of control over Italy.When Tuscany passed from the House of Lorraine to the House of Savoy in 1860, the Palazzo Pitti was included. After the Risorgimento, when Florence was briefly the capital of the Kingdom of Italy, Victor Emmanuel II resided in the palazzo until 1871. His grandson, Victor Emmanuel III, presented the palazzo to the nation in 1919.  The palazzo and other buildings in the Boboli Gardens were then divided into five separate art galleries and a museum, housing not only many of its original contents, but priceless artefacts from many other collections acquired by the state.  The 140 rooms open to the public are part of an interior, which is in large part a later product than the original portion of the structure, mostly created in two phases, one in the 17th century and the other in the early 18th century. Some earlier interiors remain, and there are still later additions such as the Throne Room. In 2005 the surprise discovery of forgotten 18th-century bathrooms in the palazzo revealed remarkable examples of contemporary plumbing very similar in style to the bathrooms of the 21st century.
Output (English): What is the name of the last person of the Medici dynasty to occupy the palazzo?