Under Sikh rule, the city was again selected as capital, and the Walled City again rose in prominence with numerous religious buildings built in the Walled City at the time, including the Samadhi of Ranjit Singh, and the Gurdwara Janam Asthan Guru Ram Das.