The Vajpayee government's foreign policy in many ways represented a radical shift from BJP orthodoxy, while maintaining some aspects of it. Its policy also represented a significant change from the Nehruvian idealism of previous governments, opting instead for realism. His party criticised him for adopting a much more moderate stance with Pakistan. In 1998, he made a landmark visit to Pakistan, and inaugurated the Delhi–Lahore Bus service. Vajpayee signed the Lahore Declaration, which was an attempt to improve Indo-Pakistani relations that deteriorated after the 1998 nuclear tests. However, the presence of Pakistani soldiers and militants in the disputed Kashmir territory was discovered a few months later, causing the 1999 Kargil War. The war ended a couple of months later, with the expulsion of the infiltrators two months later, without any shift in the Line of Control that marked the "de facto" border between the two countries. Despite the war, Vajpayee continued to display a willingness to engage Pakistan in dialogue. This was not well received among the BJP cadre, who criticised the government for being "weak". This faction of the BJP asserted itself at the post-Kargil Agra summit, preventing any significant deal from being reached.