TORONTO (AP) — Canada is slightly easing border restrictions enacted due to the coronavirus pandemic and will allow immediate family members of citizens or permanent residents to come to the country, Prime Minister Justin Trudeau announced Monday.

Trudeau stressed anyone entering the country will be required to quarantine for 14 days or face serious penalties.

Immigration Minister Marco Mendicino said the limited exception will apply to spouses, common law partners, dependent children, parents and legal guardians. He said they will have have to stay in Canada for at least 15 days.

Canada had allowed only Canadians and permanent residents into the country under a border closure to nonessential travel imposed in March.

More on the coronavirus outbreak