The territory between Afghanistan and British India was demarcated between 1894 to 1896. Part of the frontier lying between Nawa Kotal in outskirts of Mohmand country and Bashgal Valley on outskirts of Kafiristan were demarcated by 1895 with an agreement reached on 9 April 1895. Emir Abdur Rahman Khan invaded Kafiristan in the winter of 1895-1896 and captured it in 40 days according to his autobiography. Columns invaded it from the west through Panjshir to Kullum, the strongest fort of the region. The columns from the north came through Badakhshan and from the east through Asmar. A small column also came from south-west through Laghman. The Kafirs were converted to Islam and resettled in Laghman while the region was settled by veteran soldiers and other Afghans. Kafiristan was renamed as Nooristan.