The Republic of Estonia, from 1940 through 1991, continued to exist as a state de jure according to international law during the whole period of its actual occupation and annexation. Therefore, some Estonian diplomatic and consular representations continued to function from 1940 through 1991 in some Western countries (the United States, Australia, the United Kingdom, and others), dealing with a limited part of state functions of the Republic of Estonia.