 MD 140 leaves the town and gains the name Waynesboro Pike for the short distance northwest to the Pennsylvania state line.Waynesboro Pike continues northwest as PA 16 across South Mountain toward Waynesboro.Until 1979, MD Route 140 was U.S. Route 140.