Later, another Turkic ruler, Muhammad Ghauri, invaded the area and Islam began to spread there. The Yousafzai Pashtun tribe came to inhabit this area in the wake of the invasion. About 400 years ago, successive Mughal rulers attempted in vain to capture this area. After the fall of the Mughals, Sikh rulers tried to conquer this area but were repulsed. The British had always looked at this area with covetous eyes but dared no venture to flirt with it openly. In 1882, The British approached to the elders of Malakand Agency with the request to allow the passage of post to Chitral, which was then in the Administrative sphere of Gilgit. In 1885, the Chitral Expedition necessitated the British intervention in this area. British officer and troops had been besieged in Chitral by Chitralis. To reinforce their forces there, they needed a route to Chitral as the Gilgit-Chitral road, the only route at that time, was covered with snow and they had no option left except to pass through Malakand Agency. The British therefore laid siege of the Malakand Pass. The people fought bravely and offered stubborn resistance to the enemy. The British artillery particularly proving more than a match for the old and rusty guns and swords of the natives. To fortify their position and ensure the safety of the strategically Important Chitral road, they constructed two forts at Malakand and Chakdara, and many pickets in the surrounding hills. One of them, Churchill's Picket, was named after Lt. Churchill who later on became the Prime Minister of Britain. Since then the British intervened in the politics of the area. A political agent was stationed at Malakand to mediate between the British and the people of the area.