Gambia's President Yahya Jammeh declared a state of emergency on Tuesday, just two days before he is supposed to cede power after losing elections last month.
The longtime leader is refusing to step down despite international pressure and the threat by other West African nations of a military intervention.
The 90-day state of emergency, announced on state television, was to begin immediately. It bans all residents and citizens from "any acts of disobedience" or violence and urges security forces to maintain order.
In the announcement, Jammeh also blamed what he called the unprecedented level of foreign involvement in Gambia's election. The National Assembly, in approving the state of emergency, condemned the "unlawful and malicious interference" by the African Union's Peace and Security Council, which has said the continental body will no longer recognize Jammeh as Gambia's legitimate leader as of Thursday.
President-elect Adama Barrow, the man who ousted Jammeh in the December election, is vowing to take power on Thursday despite Jammeh's refusal to leave.
Jammeh says the country must wait for Gambia's supreme court to decide on the ruling party's challenge to the election results, a delay that could take months. The party alleges voting irregularities.
On Monday, Gambia's chief justice recused himself and said he could not rule on Jammeh's request for an injunction blocking Barrow's inauguration.
Meanwhile, members of Jammeh's cabinet are fleeing. Gambia's foreign affairs minister, along with the ministers of finance, trade and environment, all have resigned, a political official in Banjul said Tuesday. The official spoke on condition of anonymity for fear of reprisals. The country's information minister earlier went into exile in Senegal.
West Africa's regional bloc has a standby force for possible military intervention if Jammeh doesn't step down when his mandate ends this week. Gambia, a tiny nation of 1.9 million people, is estimated to have an army of just 900 troops.
Jammeh has ruled Gambia for more than 22 years. He initially went on state television to concede his election defeat, only to make a dramatic about-face a week later. He has long been accused by human rights groups of running a government that arbitrarily detains, tortures and even kills opponents.
Barrow is currently in Senegal, and the regional bloc, ECOWAS, has urged Barrow to stay there until Thursday's inauguration for his safety. On Monday, he was unable to attend the funeral for his 7-year-old son, who had been fatally mauled by a dog a day earlier.