Question: The county where the Hathaway Barn is located was incorporated in what year?

Context paragraphs:
Hurricana Stock Farm: Hurricana Stock Farm, also known as Sanford Stud Farm, is a historic home and related farm outbuildings located at Amsterdam in Montgomery County, New York.  It includes the Broodmare Barn (c. 1880-1914), Jumping Horse Barn (c. 1920), feed shed(c. 1895), mare barn (c. 1885), farm barn (c. 1890-1905), blacksmith's shop (c. 1893), tool and horse barn (c. 1910), garage (c. 1915), two sheds (c. 1900), a mare barn (c. 1893), ten mare barns along South Lane (1890-1895), trainer's house (c. 1920), and outbuilding (c. 1920).  The farm was used for Thoroughbred horse breeding and training.

Virginia Tillery Round Barn: The Virginia Tillery Round Barn is a round barn located on County Route 738 west of White Hall in Greene County, Illinois.  The barn was built in the fall of 1912 for farmer Harry C. Price.  With a 36 ft diameter, the barn is relatively small for an Illinois round barn; the median diameter of Illinois round barns was 60 ft .  Its size suggests that it served as a general-purpose barn, not a dairy barn like the state's larger round barns.  Brown tile blocks were used to build the barn, which is topped by a wood shingle roof with a cupola.

Henry Mish Barn: Henry Mish Barn, also known as Mish Barn and Heritage Hill Barn, is a historic Pennsylvania bank barn located near Middlebrook, Augusta County, Virginia.  It was built about 1849, and measures 50 feet by 100 feet.  The ends of the barn feature decorative brick lattice vents in lozenge patterns.  Associated with the brick barn are the contributing Mish House and two related outbuildings.  The barn was built for Henry Mish, a native of York County, Pennsylvania who settled in southwestern Augusta County in 1839,

Piscataquis County, Maine: Piscataquis County is a county located in the U.S. state of Maine.  As of the 2010 census, its population was 17,535, making it Maine's least-populous county.  Its county seat is Dover-Foxcroft.  The county was incorporated on 23 March 1838, taken from the western part of Penobscot County and the eastern part of Somerset County, and is named for an Abenaki word meaning "branch of the river" or "at the river branch."

Federal Barn: Federal Barn, also known as the barn at Cressbrook Farm, is a historic barn located in Tredyffrin Township, Chester County, Pennsylvania.  The barn was built in two sections; the older dated to 1792 and the second section to about 1840.  It is a two-story., six bay, Pennsylvania bank barn.  It is of fieldstone and frame construction and has a gable roof.  The barn is located about 150 feet from Cressbrook Farm house.

Marion Ridgeway Polygonal Barn: The Marion Ridgway Polygonal Barn located in LaPorte County on the southern edge of LaPorte, Indiana, is a multi-sided barn.  Built in 1878 by Marion Ridgeway and called the Door Prairie Barn.  The barn sits east of highway 35 surrounded by woods and cultivated fields.  The nine-sided barn is south of a rectangular barn.  The barn has nine-sides and is two-stories tall.  The roof is capped with a sectional cone roof with a nine-sided cupola in the Gothic Revival/Italianate style.  Within the louvered panels trim pieces resemble a lancet arch.  The post and beam frame sits on wooden sill propped on stone.

Coletti–Rowland–Agan Farmstead: Coletti–Rowland–Agan Farmstead is a historic farm and national historic district located at Pittstown, Rensselaer County, New York.  The farm property consists of an East Farm and a West Farm.  The East Farm includes a house (c. 1890), shop barn (c. 1850), tractor shed (c. 1850, c. 1900-1930), hen house (c. 1930), dairy barn (c. 1900, moved c. 1912), horse barn (c. 1910), oat barn (c. 1900), and tool barn (c. 1910) The West Farm farmhouse was about 1870, and has a 2 1/2-story, Greek Revival style main block with two 1 1/2-story additions.  Also on the property are the contributing shed (c. 1850), horse barn (c. 1870-1890), garage (c. 1920), main barn group (c. 1860, c. 1810-1840), milk house (c. 1910), oat house (c. 1850), and two corn cribs (c. 1850, c. 1920).

Z.T. Dunham Pioneer Stock Farm: The Z.T. Dunham Pioneer Stock Farm, also known as the Dunham Horse Barn, is a historic barn located northwest of Dunlap, Iowa, United States.  The 40 by brick structure with a gable roof was built by Z.T. Dunham and his brother Sam.  The brothers were partners in a farming operation left to them in their father's estate.  Their father, Cornelius Dunham, had been one of the original settlers in Crawford County, Iowa in 1849.  At the same time the barn was built a house for their mother was also constructed.  A country road now separates the house and the barn.  The two brothers went their own way in the mid 1870s, and Z.T. Dunham continued to operate the farm where he specialized in raising Shorthorn cattle and Poland China hogs.  The barn represents the period of large scale beef production, and its importance to the local economy.  The barn was listed on the National Register of Historic Places in 1993.  The farm remains in the Dunham family.

Hathaway Barn: The Hathaway Barn is a historic barn at 135 Nortons Corner Road in Willimantic, Maine, a rural community in southern Piscataquis County.  Built c. 1880 by Jabez Hathaway, this large barn was an optimistic expression of the future prospects of the dairy industry in the area, which were ultimately not borne out.  The barn is part of a farmstead complex whose other elements have not maintained historical integrity; it was listed on the National Register of Historic Places in 2003.

John McGreer Barn and Crib: John McGreer Barn and Crib are historic structures located in rural Harrison Township, Lee County, Iowa, United States.  They are located on a farm northwest of the town of Donnellson.  The agricultural buildings were listed on the National Register of Historic Places in 2001.  The barn was built in 1884 in the Pennsylvania barn style.  It measures 76 by , and features a cupola on top.  The corn crib is located west of the barn.  The 32 by structure was built around the same time as the barn.  It has a round arch window in its gable front.  The barn and corn crib were two of 13 extant buildings at the time of their nomination on the former John and Julia McGreer farmstead.

Supporting paragraphs: Hathaway Barn Piscataquis County, Maine
Answer: 1838