<P> In Pakistan an advocate general of the Province of the Punjab is a constitutional post and is an authority duly appointed under Article 140 of the Constitution of Islamic Republic of Pakistan . A person who is qualified to be appointed as a Judge of the High Court is appointed as the Advocate General for the province . He is the principal law officer of the Province . </P> <P> The Advocate General and his office defends and protects the interest of the provincial government and gives invaluable legal guidance to the provincial government in formulation of its policy and execution of its decision. Advocate - General of the Punjab is also Ex Officio Chairman of Punjab Bar Council . </P> <P> The office of the Advocate General is directly connected with the High Court of the province . Pre-independence (1947) the High Court of judicature for the premises of Punjab and Delhi was established at Lahore and was called the High Court of Judicature at Lahore . After independence of Pakistan, the High Court at Lahore ceased to have jurisdiction over Delhi and the then East Punjab . On 14 August 1947 the High Court (Lahore) Order, 1947, preserved the continuance of the High Court at Lahore with all rights, powers and privileges as hitherto enjoyed and possessed by it before the appointed day . The Governor - General of the Dominion of Pakistan became the substitute of the Crown in matters of appointment etc. of Judges of the Lahore High Court . </P> <P> Historically, the United Kingdom Government was advised on matters of Scots Law by the Lord Advocate but following the Scotland Act 1998 and the establishment of the Scottish Parliament the Lord Advocate became a member of the Scottish Executive . </P>

Who appointed the advocate general of a state