During British rule ( before the independence of Pakistan ) , Shakargarh town became the capital of Shakargarh Tehsil . Before the independence of Pakistan , Shakargarh was the headquarters of Shakargarh Tehsil , which formed part of Gurdaspur district ( now in India ) .