Originally, this scheme was used as a mnemonic device for telephone number prefixes. When telephone numbers in the United States were standardized in the mid-20th century to seven digits, the first two digits of the exchange prefix were expressed as letters rather than numbers, using the telephone exchange name. Before World War II, the largest cities used three letters and four or five numbers, while in most cities with customer dialing, phone numbers had only six digits (2L-4N). The prefix was a name, and the first two or three letters, usually shown in capital letters, were dialed. Later, the third letter, where implemented, was replaced by a digit, or an extra digit was added. This generally happened after World War II, although New York City converted in 1930. The adoption of seven-digit local numbers (2L-5N) was chosen as the requirement for direct distance dialing and progressively deployed starting the late 1940s.