Pakistan President Pervez Musharraf has announced that he will lift the state of emergency on 16 December.
In a televised address to the nation, Mr Musharraf confirmed his intention to restore the constitution just three weeks before a planned general electionon 8 January.
Mr Musharraf declared the emergency on 3 November to tackle what he claimed was growing Islamic militancy and an interfering judiciary.
Earlier he was sworn in for a second term, but this time as a civilian leader, a day after quitting as army chief.
Abdul Hameed Dogar, the chief justice Mr Musharraf hand-picked after purging the Supreme Court under emergency rule, administered the oath.
'This is a milestone in the transition of Pakistan to complete essence of democracy,' Mr Musharraf, wearing a traditional sherwani tunic, said in a speech after he took the oath at a ceremony in the presidency in Islamabad.
Mr Musharraf's power and influence in the nuclear-armed country are likely to be diminished after relinquishing command of the army.
He passed command to his hand-picked successor, General Ashfaq Kayani, who is seen as loyal to Mr Musharraf.
'Pakistan will go stronger with me as a civilian president and General Kayani as army chief,' Mr Musharraf said.
President Musharraf won re-election in a vote by legislators last month and later suspended the constitution, declared emergency rule and purged the Supreme Court to block opposition legal challenges to his victory while still a serving officer.
The opposition is still challenging his re-election.