The telephone numbering plan of the USSR was a set of telephone area codes, numbers and dialing rules, which operated in the Soviet Union until the 1990s. After the collapse of the USSR, many newly independent republics implemented their own numbering plans. However, many of the principles of the Soviet numbering plan still remain. The former Soviet international code +7 is still retained by Russia and Kazakhstan.