The British had partially succeeded in getting control of this volatile area, but tribal Pashtuns continued to attack British personnel from time to time. Thus, a series of forts, originally built by Ranjit Singh, the ruler of the Sikh Empire, were consolidated. Two of the forts were Fort Lockhart (on the Samana Range of the Hindu Kush mountains), and Fort Gulistan (Sulaiman Range), situated a few miles apart.