Article 165 of the Indian Constitution provides for the Office of Advocate Generalfor the States.
He is the highest law officer of the state.
He is appointed by the Governor.
Attorney General, on the other hand, is the highest law officer in the country and is appointed by the President under Article 76 of the Indian Constitution.
The Minister of Law and Justice is a ministerial post which deals with matter related to legislative and administrative justice, and related legal affairs.
Each state has a Principal Secretary of the Law Department. Rank wise, he stands above the Chief Secretary.
Raghavendra Singh is the current Advocate General of the state of Uttar Pradesh.