Sikh invasions began in 1818 and from then until the British annexation the Sikhs under Ranjit Singh steadily made themselves masters of the country.
The Sikhs forayed into Peshawar for the first time in 1818, but did not occupy the territory.