Detailed Instructions: In this task, you're given a question, along with three passages, 1, 2, and 3. Your job is to determine which passage can be used to answer the question by searching for further information using terms from the passage. Indicate your choice as 1, 2, or 3.
Q: Question: What year was the castle that served as the headquarters for the Okazaki Domain built? Passage 1:Before the station house was built rail service to Chatham started on December 21, 1841 when the first portion of the Albany and West Stockbridge Railroad was put into service between Greenbush (east of Albany) and Chatham. The Harlem Extension of the New York and Harlem Railroad was built to Chatham by 1869. By late 1870 a series of company mergers led to the formation of the Boston and Albany Railroad (B&A). In 1881 the B&A hired Henry Hobson Richardson to design several stations for the railroad. Richardson died unexpectedly in 1886 and the remaining station design work was transferred to the Boston-based architecture firm of Shepley, Rutan and Coolidge. They designed the Chatham Station which was opened for service along the B&A's Boston to Albany line in 1887. The Richardsonian Romanesque building features a Dutch gable roof with wide eaves and colonnade porticos that extend out east and west along the tracks over the low platform. The walls are made of lightly colored rusticated stone with window and door frames, sills, and lintels of contrasting brownstone. A prominent bow window faces trackside and once was used as part of the stationmaster's office.
 Passage 2:Okazaki-shuku was a part of the flourishing castle town surrounding Okazaki Castle, the headquarters for Okazaki Domain. The classic ukiyo-e print by Andō Hiroshige (Hōeidō edition) from 1831 to 1834 depicts a Yahagibashi, one of the few bridges permitted by the Tokugawa shogunate on the Tōkaidō, and one of the longest bridges built in Japan during the early Edo period. Okazaki Castle is depicted in the distance on the far shore of the river. Following the Meiji restoration, with the construction of railroads, the route of what became the Tokaido Main Line was laid down through the nearby village of Hane ( Hane-mura) to the south. Unlike Goyu-shuku and Akasaka-juku, but this did not cause a huge economic decline to Okazaki-shuku. There was a horse-drawn rail line connecting Okazaki to the train station, as well as a teachers' school, which kept the town alive. On the other hand, Okazaki was not able to compete with the growth of Toyohashi, which was located directly on the railway, and which gained city-status first. Because of fires during World War II and the subsequent rebuilding of Okazaki in the post-war years, there are few remnants of the post town remaining today.
 Passage 3:Lagos is an ancient maritime town with more than 2000 years of history. The name Lagos comes from a Celtic settlement, derived from the Latin Lacobriga, the name of the settlement was established during the pre-Punic civilizations. It became an early settlement of the Carthaginians, who recruited Celtic tribesmen in their war against the Romans (the Punic Wars). Owing to its already important harbour, it was colonized by the Romans and integrated into the Roman province of Lusitania, becoming known as Lacobriga. Quintus Sertorius, a rebellious Roman general, helped by the Lusitanians of Lacobriga (who had been oppressed under Roman Generals and members of Lucius Cornelius Sulla party), successfully defeated the Roman army of Caecilius Metellus Pius probably at nearby Monte Molião.

A:
2