[custom_adv] During Nasser-e-Din Shah's reign, Western science, technology, and educational methods were introduced into Persia and the country's modernization was begun. Nasser ed-Din Shah tried to exploit the mutual distrust between Great Britain and Russia to preserve Persia's independence, but foreign interference and territorial encroachment increased under his rule. [custom_adv] He was not able to prevent Britain and Russia from encroaching into regions of traditional Persian influence. In 1856, during the Anglo-Persian War, Britain prevented Persia from reasserting control over Herat. The city had been part of Persia in Safavid times, but Herat had been under the non-Persian rule since the mid-18th century. [custom_adv] Britain also extended its control to other areas of the Persian Gulf during the 19th century. Meanwhile, by 1881, Russia had completed its conquest of present-day Turkmenistan and Uzbekistan, bringing Russia's frontier to Persia's northeastern borders and severing historic Persian ties to the cities of Bukhara and Samarqand. [custom_adv] Several trade concessions by the Persian government put economic affairs largely under British control. By the late 19th century, many Persians believed that their rulers were beholden to foreign interests. [custom_adv] Mirza Taghi Khan Amir Kabir, was the young prince Nasser-e-Din's advisor and constable. With the death of Mohammad Shah in 1848, Mirza Taqi was largely responsible for ensuring the crown prince's succession to the throne. When Nasser ed-Din succeeded to the throne, Amir Nezam was awarded the position of the prime minister and the title of Amir Kabir, the Great Ruler. [custom_adv] At that time, Persia was nearly bankrupt. During the next two and a half years Amir Kabir initiated important reforms in virtually all sectors of society. Government expenditure was slashed, and a distinction was made between the private and public purses. The instruments of central administration were overhauled, and Amir Kabir assumed responsibility for all areas of the bureaucracy. [custom_adv] Foreign interference in Persia's domestic affairs was curtailed, and foreign trade was encouraged. Public works such as the bazaar in Tehran were undertaken. Amir Kabir issued an edict banning ornate and excessively formal writing in government documents; the beginning of a modern Persian prose style dates from this time.