The "Montrealer" was discontinued in September 1966; local service on the Connecticut River Line lasted until the end of the year. On June 30, 1967, the Concord trip was cut to Lowell, and the Dover trip to . The four routes with single daily round trips slowly ended: South Sudbury on November 26, 1971, Newburyport in April 1976, Haverhill in June 1976, and Bedford on January 10, 1977. (However, Haverhill service was restored by MVRTA subsidy in 1979.) On December 27, 1976, the MBTA bought all B&M commuter equipment, as well as most of the B&M's trackage on Boston's northside (including several abandoned lines). On March 12, 1977, the B&M also won the contract for the southside commuter rail lines that had once been part of the New Haven and B&A, the first time that Boston's commuter rail system had been operated by a single entity. The B&M operated the whole MBTA Commuter Rail system under contract to the MBTA until 1987. The final B&M line to lose passenger service was the Woburn Branch (former Woburn Loop), which was cut on January 30, 1981 due to poor track quality. Under public control, commuter rail service has returned to several lines cut by the B&M, and Portland intercity service returned with the Amtrak "Downeaster" in 2001.