The effect of these transactions was to give the New Haven control of a large system of electric railways in Connecticut and Massachusetts, many of them connecting with each other. In the meantime, the United Gas Improvement Company of Philadelphia had put together its own system, including most of the mileage in Rhode Island and over one-quarter of the mileage in Connecticut, through subsidiaries Rhode Island Company and Connecticut Railway and Lighting Company. The latter owned the lines in the coastal towns between Stamford and West Haven, connecting with New Haven properties at both ends, as well as a rural line extending through the Naugatuck Valley from Stratford north to Seymour with local lines in Derby and vicinity. To the north, it controlled local and suburban lines in New Britain and Waterbury, connecting with the New Haven's lines at Newington and Mount Carmel. The Meriden, Southington and Compounce Tramway, also controlled by the United Gas Improvement Company, extended from the New Haven's local lines in Meriden to Lake Compounce, intersecting the ends of Waterbury and New Britain lines at Milldale and Southington. A continuous route between Stratford and Waterbury via Derby and Seymour was completed in 1907 by lessor Naugatuck Valley Electric Railway. The New Haven came to an agreement with the United Gas Improvement Company on December 19, 1906, whereby the Consolidated Railway leased the property of the Connecticut Railway and Lighting Company, and acquired the stock of the Meriden, Southington and Compounce Tramway, Rhode Island Company, and various power companies operating in Connecticut.