Ranjit Singh did not rule present-day Afghanistan and Khyber Pass
There is a common but incorrect notion among Indians and Pakistani-Punjabis that Maharaja Ranjit Singh ruled Khyber Pass (extending from Jamrud to Torkham) as well as Jalalabad city (in Nangarhar province of Afghanistan) and the Kabul city. Ranjit Singh and his successors neither ruled Khyber Pass nor the cities of Jalalabad and Kabul.