sentences:  Barnoldswick has been in the Pendle District of Lancashire since 1974.The line was built by the Barnoldswick Railway and worked by the Midland Railway from its opening on 8 February 1871.The Midland absorbed the Barnoldswick Railway in 1899.