Question: Which  castle in the border region of Scotland did Hermitage Water passes through 

Context paragraphs:
Hermitage Castle: Hermitage Castle is a semi-ruined castle in the border region of Scotland.  It is under the care of Historic Scotland.  The castle has a reputation, both from its history and its appearance, as one of the most sinister and atmospheric in Scotland.

Kilmarnock: Kilmarnock (Scottish Gaelic: "Cille Mheàrnaig" , "Meàrnag's church") is a large burgh in East Ayrshire, Scotland with a population of 46,350, making it the 15th most populated place in Scotland and the second largest town in Ayrshire.  The River Irvine runs through its eastern section, and the Kilmarnock Water passes through it, giving rise to the name 'Bank Street'.

Hermitage Water: The Hermitage Water is a river in Liddesdale, in the Scottish Borders area of Scotland.  Among its many feeder burns are Braidley Burn, Dinley Burn, Gorrenberry Burn and Twislehope Burn.  The Water flows through the hamlets of Dinley and Gorrenberry, and through the village of Hermitage, and past Hermitage Castle.  It continues past Toftholm where it meets the B6399, and passes Newlands, Longhaugh, Leahaugh and Redheugh.  At Sandholm it joins the Liddel Water and the dismantled railway.

Gartness: Gartness is a hamlet in Stirling, Scotland.  It is located 1.8 miles/2.9 km from Killearn and 3.1 miles/5 km from Drymen.  Most pupils attend Killearn Primary School and senior pupils attend Balfron High School.  The Endrick Water passes through the hamlet.

Indonesian Throughflow: The Indonesian throughflow (ITF) is an ocean current with importance for global climate since it provides a low-latitude pathway for warm, fresh water to move from the Pacific to the Indian Ocean and this serves as the upper branch of the global heat conveyor belt.  Higher ocean surface topography in the western Pacific than in the Indian Ocean drives upper thermocline water from the North Pacific through the western route of the Makassar Strait to either directly exit through the Lombok Strait or flow eastward into the Banda Sea.  Weaker flow of saltier and denser South Pacific water passes over the Lifamatola Passage into the Banda Sea, where these water masses are mixed due to tidal effects, Ekman pumping, and heat and fresh water flux at the ocean surface.  From the Banda Sea the ITF exits Timor, Ombai, and Lombok passages.

Kautz Creek Falls: Kautz Creek Falls is a waterfall on Kautz Creek in the Mount Rainier National Park in the state of Washington.  It was formed when the Kautz Glacier retreated in the last 50 years, creating a series of long and slender cascades totaling about 400 ft in height down a tall glacial cliff, with a highest drop of 150 ft .  The falls consist of two parts, each with two distinct tiers.  One of these parts flows from the upper lobe of the Kautz Glacier and disappears under the lower lobe.  The water flowing over this stage is generally clear.  As the water passes underneath the lower lobe, however; it has a muddy appearance caused by glacial moraine, which explains the muddy appearance of Kautz Creek.

Fountain of the Great Lakes: Fountain of the Great Lakes, or Spirit of the Great Lakes Fountain, is an allegorical sculpture by Lorado Taft in the Art Institute of Chicago South Stanley McCormick Memorial Court south of the Art Institute of Chicago Building in the Loop community area of Chicago in Cook County, Illinois, United States.  It is a bronze work of art created between 1907 and 1913.  The fountain depicts five women arranged so that the water flows through them in the same way water passes through the Great Lakes.  Note that the Great Lakes waterflow starts in Lake Superior at 600 ft above sea level and continues eastward through each lake until it reaches Lake Ontario and then passes into the St. Lawrence River.  The Fountain is one of Taft's best known works.

Border of Granada: The border of Granada ("frontera de Granada" in Spanish) was a border region that existed between the Nasrid kingdom of Granada and the kingdoms of Murcia, Jaén, Córdoba and Seville following the integration of those former Muslim territories within the Crown of Castile in the mid-13th century.  The delineation of this border region underwent several changes subsequently, but on the death of Alfonso XI in 1350, the Granadine border was fixed geographically, in general terms, until the beginning of the Granada War in the late 15th century.  This territory was also referred to as " La Banda Morisca" (The Moorish Strip).

Frost heaving: Frost heaving (or a frost heave) is an upwards swelling of soil during freezing conditions caused by an increasing presence of ice as it grows towards the surface, upwards from the depth in the soil where freezing temperatures have penetrated into the soil (the freezing front or freezing boundary).  Ice growth requires a water supply that delivers water to the freezing front via capillary action in certain soils.  The weight of overlying soil restrains vertical growth of the ice and can promote the formation of lens-shaped areas of ice within the soil.  Yet the force of one or more growing ice lenses is sufficient to lift a layer of soil, as much as 1 ft or more.  The soil through which water passes to feed the formation of ice lenses must be sufficiently porous to allow capillary action, yet not so porous as to break capillary continuity.  Such soil is referred to as "frost susceptible".  The growth of ice lenses continually consumes the rising water at the freezing front.  Differential frost heaving can crack road surfaces—contributing to springtime pothole formation—and damage building foundations.

Permeable Reactive Weir: Permeable reactive weirs (PRWs) are water treatment devices that remove pollutants from surface water, e.g., stormwater, industrial waste water, agricultural drainage ditches, and natural rivers and streams.  Permeable reactive weirs resemble hollow dams that contain filter media cartridges that remove pollutants as water passes through the device.  PRWs accommodate fish passage up and down stream.  PRWs can safely treat water contaminated with bacteria, metals, organic chemicals, and nutrients (nitrogen and phosphorus).

Supporting paragraphs: Hermitage Water Hermitage Castle
Answer: Hermitage Castle