In 1973, the MBTA bought the Lowell line, along with the Haverhill and all other local Greater Boston passenger lines. Along with the sale, the B&M contracted to run the passenger service on the Lowell line for the MBTA. After bankruptcy, the B&M continued to run and fulfill its commuter rail contract under the protection of the United States Bankruptcy Court, in the hopes that a reorganization could make it profitable again. It emerged from the court's protection when newly formed Guilford Transportation Industries (GTI) purchased it in 1983.