ISLAMABAD - Federal Minister for Science and Technology Zahid Hamid resigned on moral grounds hours after being named in high treason trial by the special court on Friday.

After tendering the resignation, Zahid Hamid also vacated his office. Before resigning, he held a meeting with former Law Secretary and Assistant to Prime Minister on Parliamentary Affairs Barrister Zafarullah Khan.

He has served as Law Minister for the incumbent government as well; the position was later withdrawn on account of his inclusion in the treason case. And he was assigned the portfolio of Ministry of Science and Technology in June 2013. But he was still looking after the affairs of the Law Ministry de facto wise due to busy schedule and lack of know-how in legal matters of the current law minister, according to officials.

Earlier, in the day the special court approved the request for the trial of former Prime Minister Shaukat Aziz, former Law Minister Zahid Hamid and then Chief Justice of Pakistan Justice Abdul Hameed Dogar as co-accused in Musharraf treason case and also ordered to re-record their statements.

"As his name has been included in the treason case, he felt that he has no right to continue as a minister, so he resigned on moral grounds" said Zahidullah Khan.  The charge of the Ministry has not been given to anyone yet and in case of absence of the minister, Prime Minister directly looks after the affairs, said Khan.

Hamid was law minister at the time Musharraf had imposed a state of emergency in the country. The Special Court in the high treason trial of Pervez Musharraf under article 6 of the Constitution has directed the federal government to include Zahid Hamid in this case as he was the Law Minister at that time and approved the summary for removal and appointment of superior court judges on November 3, 2007 along with the then Prime Minister.  The resignation has been received by the prime minister but not accepted yet, said Dr. Mussadiq Malik, spokesperson to PM Nawaz Sharif, during a briefing to journalists.  "The ultimate decision to accept the resignation will be of the PM, he added.