In this task, you're expected to write answers to questions involving multiple references to the same entity. The answer to the question should be unambiguous and a phrase in the paragraph. Most questions can have only one correct answer.

Let me give you an example: Passage: Nearing London, Oliver encounters Jack Dawkins, a pickpocket more commonly known by the nickname the "Artful Dodger", and his sidekick, a boy of a humorous nature named Charley Bates, but Oliver's innocent and trusting nature fails to see any dishonesty in their actions. The Dodger provides Oliver with a free meal and tells him of a gentleman in London who will "give him lodgings for nothing, and never ask for change". Grateful for the unexpected assistance, Oliver follows the Dodger to the "old gentleman's" residence. In this way Oliver unwittingly falls in with an infamous Jewish criminal known as Fagin, the gentleman of whom the Artful Dodger spoke. Ensnared, Oliver lives with Fagin and his gang of juvenile pickpockets in their lair at Saffron Hill for some time, unaware of their criminal occupations. He believes they make wallets and handkerchiefs.
Question: Who believes Fagin's gang make wallets and handkerchiefs?
The answer to this example can be: Oliver.
Here is why: In the sentence "He believes they make wallets and handkerchiefs", the pronoun "he" refers to name "Oliver".

OK. solve this:
Passage: On July 13, 1787, the Second Continental Congress passed the Northwest Ordinance, creating the Northwest Territory which included Michigan. In 1805, the U.S. Congress created the Michigan Territory, with Detroit as its territorial capital. Michigan first applied for statehood as early as 1832, though it was rebuffed due to a dispute with Ohio over the Toledo Strip, a 468-square mile (1,210 km) area that included the important port city of Toledo. By 1835, Michigan had formed a state government without receiving authorization from Congress to do so. The state's boundaries included the contested area.
The dispute culminated in what has become known as the Toledo War, as Michigan and Ohio militia took up arms in the area. As a condition for entering the Union, Michigan was forced to accept the eastern three-quarters of the Upper Peninsula in exchange for ceding its claim to the Toledo Strip. After a state convention first rejected this condition, a second convention, assembled under some duress in December 1836, reluctantly accepted the terms and Michigan became the 26th state on January 26, 1837, with Detroit as its first capital.
The first building to serve as the State Capitol was built in 1832 as the Territorial Courthouse. The court house was on the corner of Griswold Street and State Street. This brick structure was one of Michigan's earliest Greek revival buildings, with a portico of Ionic columns and a central tower of 140 feet (42 m). Built at a cost of $24,500 ($610,000 in 2019), the building housed the territorial government and state legislatures until 1848, when a hastily erected wood building was constructed in Lansing following a decision made March 17, 1847, to move the capital from Detroit to Lansing. The Detroit building then became a public school (the Union School, at one time the city's only high school) and library until it burned in 1893.
Question: What state's capital was formerly Detroit?
Answer:
Michigan.