The advent of the automobile sounded the death knell for rail in Seattle. Tacoma–Seattle railway service ended in 1929 and the Everett–Seattle service came to an end in 1939, replaced by automobiles running on the recently developed highway system. When the city received a US$10.2 million federal grant to pay off transit-related debts and modernize its transit system, rails on city streets were paved over or removed, and the opening in 1940 of the Seattle trolleybus system brought the end of streetcar service in Seattle in the early hours of April 12, 1941. This left an extensive network of buses (including of trolleybus lines) under an independent Municipal Transportation Commission as the only mass transit within the city and throughout the region.