Egypt's Supreme Court where the office of the prosecutor general sits
Prosecutor general Abdel-Meguid Mahmoud issued a statement on Thursday night denying claims that he resigned from his post.
He added that he will remain in his current position until the end of his mandate according to the judiciary law.
According to the Egyptian legal system, the president doesn't have the power to dismiss the prosecutor general from office but the latter has the right to ask to be relieved of his duties.
Earlier on Thursday evening, Egypt's President Mohamed Morsi dismissed Mahmoud from the post he has held since 2006. He appointed him ambassador to the Vatican.