It was the largest city in the newly formed Pakistan at the time of independence and provided the easiest access to India, with its porous border near the Indian city of Amritsar only 30 miles to the east.