He was not able to prevent Britain and Russia from encroaching into regions of traditional Iranian influence. In 1856 Britain prevented Iran from reasserting control over Herat, which had been part of Iran in Safavid times but had been under non-Iranian rule since the mid-18th century. Britain supported the city's incorporation into Afghanistan; a country Britain helped create in order to extend eastward the buffer between its Indian territories and Russia's expanding empire.