The president of France on Monday said he was ordering people in the country to stay at home for up to 15 days because of the coronavirus outbreak.
President Emmanuel Macron said people should leave their homes only for essential duties, beginning midday Tuesday.
Macron said he was taking the drastic step of limiting people's movements in France to reduce the risk of contamination from the virus.
He said any violation of the edict would be punished.
"We are in a health war," Macron said.
Macron also announced he was calling off the second round of municipal elections in light of his order.
Macron's announcement came as Canada's leader, Prime Minister Justin Trudeau, announced that he was closing that country's borders to foreigners, with the exception of U.S. citizens.
"It is time to take every precaution to keep people safe," Trudeau said.