Nawaz Sharif admitted that he had violated the Lahore Declaration of 1999