The region was administered for the majority of its known history by Armenian nobility and states, whether it was as part of a fully independent Armenian state, as vassals, or as part of a foreign state. Since the 1040s, the highlands have been under the rule of various Turkic peoples and the Safavid dynasty, with pockets of Armenian autonomy in places such as Artsakh. Much of Eastern Armenia, which had been ruled by the Safavids from the 16th century, became part of the Russian Empire in 1828 and was later incorporated into the Soviet Union, while much of Western Armenia was under the rule of the Ottoman Empire and later incorporated into Turkey. Today, the region is divided between Turkey, Georgia, Armenia, Azerbaijan and Iran.