Question: What is the seat of the county where Avery is located?

full_context: Document 1: Bear Valley, Alpine County, California: Bear Valley is a census-designated place in Alpine County, California. The population was 121 at the 2010 census, down from 133 at the 2000 census. The town is accessible by State Route 4. Bear Valley is within the Stanislaus National Forest. Although inside Alpine County, Bear Valley Fire Department has contracted with California Department of Forestry, San Andreas, for dispatching.
Document 2: Avery Creek, North Carolina: Avery Creek is a census-designated place (CDP) in Buncombe County, North Carolina, United States. The population was 1,950 at the 2010 census. It is part of the Asheville Metropolitan Statistical Area.
Document 3: Hathaways Mountain Pines, California: Hathaways Mountain Pines (formerly, Hathaway's Mountain Pines) is an unincorporated community in Calaveras County, California. It lies at an elevation of 3448 feet (1051 m).
Document 4: Jackson County Courthouse (Jacksonville, Oregon): The Jackson County Courthouse is a former county courthouse in Jacksonville, Oregon, United States, built in 1883. The courthouse is a contributing property of the Jacksonville Historic District, which is listed on the National Register of Historic Places (NRHP). It was formerly the Jacksonville Museum owned by Jackson County and operated by the Southern Oregon Historical Society (SOHS), which also managed several other historic properties in Jacksonville. The museum in the courthouse closed in 2006 because of lack of funding. Ownership of the historic courthouse was transferred to the City of Jacksonville in 2012. The SOHS still operates Hanley Farm in Central Point and a research library in Medford.
Document 5: Calaveras Big Trees State Park: Calaveras Big Trees State Park is a state park of California, United States, preserving two groves of giant sequoia trees. It is located 4 miles (6.4 km) northeast of Arnold, California in the middle elevations of the Sierra Nevada. It has been a major tourist attraction since 1852, when the existence of the trees was first widely reported, and is considered the longest continuously operated tourist facility in California.
Document 6: Rancho Calaveras, California: Rancho Calaveras is a census-designated place (CDP) in Calaveras County, California, United States. The population was 5,325 at the 2010 census, up from 4,182 at the 2000 census.
Document 7: Tombstone Courthouse State Historic Park: Tombstone Courthouse State Historic Park is a state park of Arizona in the United States. Located in Tombstone, the park preserves the original Cochise County courthouse. The two-story building, constructed in 1882 in the Victorian style, is laid out in the shape of a cross and once contained various county offices, including those of the sheriff, recorder, treasurer, and the Board of Supervisors as well as courtrooms and a jail. Inside, the courthouse contains a museum with numerous artifacts from the town's history while outside, a replica gallows has been constructed in the courtyard to mark the spot where seven men were hanged for various crimes. The park was one of the first to be designated as a state park and in 1959 was the first to open following the 1957 establishment of the Arizona State Parks Board.
Document 8: Old Salem County Courthouse: Built in 1735, this building is the oldest active courthouse in New Jersey and is the second oldest courthouse still in continuous use in the United States. It was expanded in 1818 and 1908.
Document 9: Calaveras County Courthouse: The Calaveras County Courthouse is a historic courthouse building in San Andreas, California. The brick courthouse was built in 1867 and contained the county's courtroom, jail, and sheriff's office; until 1888, executions were also conducted in the building. The county's Hall of Records was built in front of the courthouse in 1893; the two buildings nearly touch and are considered part of the same complex. The building's jail held outlaw Black Bart, a notorious Northern California highwayman, during his 1883 trial. In 1966, the county moved its courthouse to a new building; the old courthouse is now the Calaveras County Museum, which is operated by the Calaveras County Historical Society.
Document 10: Hudson County Courthouse: The courthouse was used as the primary seat of government for Hudson County from its opening on September 20, 1910 until the construction of the Hudson County Administration Building in 1966. The courthouse was vacant for many years and was scheduled for demolition. The building was added to the National Register of Historic Places on August 25, 1970. Restoration began in the mid-1970s, and the building was reopened in 1985. In 1984, the Hudson County Board of Chosen Freeholders renamed the building in honor of Supreme Court Justice William J. Brennan Jr. The restoration of the courthouse was acknowledged by a Victorian Society in America Preservation Award in 1988.
Document 11: Texas Prison Museum: The non-profit museum features the history of the prison system in Texas (Huntsville is the home of the Texas Department of Criminal Justice and several prisons including the Ellis Unit which previously housed death row, and Huntsville Unit which houses the execution chamber). There are many different artifacts in the museum, including an electric chair named "Old Sparky" that was formerly used from 1924 to 1964 as the primary means of execution.
Document 12: Avery, California: Avery is a census-designated place (CDP) in Calaveras County, California, United States. The population was 646 at the 2010 census, down from 672 at the 2000 census. Avery is located on State Route 4 and is home to the oldest continually operating hotel in the county, the Avery Hotel Restaurant & Saloon. Built in 1853, it was known as the "Half Way House," being located between Murphys, Arnold, and Calaveras Big Trees State Park.
Document 13: Avery Farmhouse: Avery Farmhouse is a historic home and farm complex located at Duanesburg in Schenectady County, New York. The house was built about 1850 by noted master carpenter Alexander Delos "Boss" Jones. It is a two-story, "T" shaped, clapboard sided frame building in the Greek Revival style. The main block is flanked by two one story frame wings. It features a giant pedimented portico supported by square columns. Contributing outbuildings include five silos, a garage, a large multi-component barn complex, and a barn.
Document 14: Avenal, California: Avenal is a city in Kings County, California, United States. Avenal is located southwest of Hanford, at an elevation of . It is part of the Hanford–Corcoran Metropolitan Statistical Area (MSA Code 25260), which encompasses all of Kings County. In area, it is the largest city in Kings County. The Zip Code for this community is 93204, and telephone numbers use the sequence (559) 386-XXXX. The population was 15,505 in the 2010 census, which includes inmates at the Avenal State Prison, the first prison actively solicited by a community in the state of California. Many of the remaining residents largely either work at the prison or in the agriculture industry. The prison provides approximately 1,000 jobs to residents. The California Department of Finance estimated that Avenal's population was 13,159 on January 1, 2015. As of that date, Avenal State Prison held 4,165 inmates, which was about 32% of the total population of Avenal. Inmates are counted as city residents by both the United States Census and the California Department of Finance.
Document 15: Old Meigs County Courthouse: The Old Meigs County Courthouse is a historic former government building in the small community of Chester, Ohio, United States. Erected in the early nineteenth century, the courthouse served multiple purposes for the surrounding community in its early years, but it operated as a courthouse for less than twenty years before being abandoned in favor of another courthouse in another community. Following a restoration in the 1950s, it was designated a historic site in the 1970s along with an adjacent school; the two buildings are operated together as a museum. It is Ohio's oldest extant building constructed as a courthouse.
ground_truth: San Andreas
sub_queries: Avery >> located in the administrative territorial entity Answer: Calaveras County
Calaveras County >> capital Answer: San Andreas