Detailed Instructions: In this task, you're given a passage, further information available on a particular linked term from the statement, and an answer term. Your job is to generate a question that can use the information provided to obtain the given answer. You should use the information on both passage and link information to create the question. Note that the answer to the question should be exactly the given answer, and if the answer is none, the answer to the question shouldn't be obtainable from the passage or linked information.
Q: Passage: Following the establishment of the Tokugawa shogunate, the Maeda clan were confirmed as daimyo of Kaga Domain, which included most of Etchu Province. Maeda Toshinaga, the son of Maeda Toshiba and second daimyo of Kaga Domain rebuilt the castle and temporarily used it as his retirement home until much of it burned down in 1609. His grandson, Maeda Toshitsugu was awarded a 100,000 koku holding in Etchu Province in 1639, the forming Toyama Domain; however, initially his fief did not include Toyama Castle. Unable to raise funds to build his own castle, in 1659 he reached an agreement with Kaga Domain to exchange some of holdings for Toyama Castle and the surrounding lands. In 1661, he received permission from the Tokugawa shogunate to rebuild the castle and to lay out a new castle town. His descendants ruled over Toyama from here until the Meiji Restoration. Many of the structures of the castle and its rampant were destroyed by the 1858 Hietsu earthquake, and most of what survived was destroyed by order of the new Meiji government in 1871.
Link Information: the Meiji Renovation, Revolution, Reform, or Renewal, was an event that restored practical imperial rule to the Empire of Japan in 1868 under Emperor Meiji Answer: 1868
A:
What year did the Toshitsugu descendants stop ruling over Toyama castle?