NEW DELHI – As India expanded its virus-containment measures and halted its lifeblood train network, the federal government warned Monday of strict legal action for those who flout the rules.

“Please save yourself, save your family,” Prime Minister Narendra Modi tweeted in Hindi and called for states to follow the preventive measures issued by the federal government to contain the spread of the virus.

The strict legal action vowed wasn’t immediately clear. Other places have simply sent violators home, since alternatives like detention would create crowded conditions where the virus could spread.

To contain the outbreak, authorities have gradually started to shutdown much of the country of 1.3 billion people.

At least 80 districts where cases of infection have been detected are under stringent lockdown. Police and health care were operating, but commercial establishments have closed except for essential services. Banks have asked their customers to switch to online transactions and reduced their office staff.

The government has fervently appealed for people to practice social distancing and wash their hands. India also was one of the first countries to essentially shut its borders and deny entry to all but a select few foreigners.

But Modi’s call for a 14-hour voluntary curfew on Sunday was the first nationwide effort at social isolation practices the World Health Organization believes are critical to slowing the outbreak to a level that doesn’t overwhelm health care systems. Lockdowns in other places have lasted at least two weeks, which is believed to be the maximum incubation period of the virus.

Streets across India’s cities were deserted as citizens stayed indoors heeding Modi’s call. But key train stations were packed with thousands of migrant workers suddenly out of work and trying to head to their villages, risking carrying the infection to the nation’s vast hinterland.

YOU MIGHT BE INTERESTED IN…

Late Sunday, train services were suspended until March 31 while crowds were still waiting to board. The suspension included major long-distance trains and public transit in India’s big cities, exempting only freight.

India has at least 415 active cases of infection with the new coronavirus and seven deaths from COVID-19, the illness it causes.

Many were linked to foreign travel, but indigenous spread of the disease is considered inevitable in India, where tens of millions live in dense urban areas with irregular access to clean water.

Experts have said the number of confirmed cases seemed low for the world’s second most populous country, amid concerns that India was testing few people. The bulk of its testing had been aimed at international travellers and their contacts, but in recent days the government has expanded it to people in hospitals with respiratory symptoms such as pneumonia.

“Our biggest challenge is how do we break this chain of transmission,” said Lav Agarwal, a senior health ministry official at a briefing in New Delhi on Sunday.