Azerbaijan’s dictator, Ilham Aliyev, is a wily survivor. He woos European democracies with gas exports, hosts the Eurovision song contest and wins $100 million offers of military aid from the United States. Those laurels are all the more remarkable considering he regularly tosses politicians and reporters in prison. Now, he sees a new opportunity to consolidate his rule. In recent weeks, Aliyev has used the threat of the novel coronavirus to crack down on opposition groups and independent media: Last month, for instance, he closed a dissident group’s office, saying people could not “gather en masse.” There were four people present.

Aliyev is hardly alone. As the coronavirus sweeps across the world, most countries are taking dramatic steps to slow the rate of infection and keep hospitals and medical workers from being inundated. Many, including liberal democracies, have enacted lockdowns. Some of the countries with the most success in combating the coronavirus, such as South Korea and Singapore, are closely tracking the personal interactions of infected people, using a range of data about citizens. In many such places, citizens accept that they must temporarily surrender certain freedoms to their democratic governments, confident that their leaders will act in good faith to grapple with this extreme threat.

But authoritarians often take advantage of emergencies — wars, terrorist attacks, high-profile arsons, natural disasters — to consolidate power. These catastrophes spark fear, bolster the public desire for a strong governing hand and lead people to rally around their leaders. Russia experts say Vladimir Putin used the war in Chechnya to grab greater power, while the Indonesian despot Suharto capitalized on massive killings and civil unrest in 1965-66, encouraged by the armed forces, to take control of the country and oust his predecessor. In the most infamous example, Adolf Hitler seized supreme dictatorial power after the 1933 Reichstag fire, an arson that probably involved the Nazis.

A contagion on the scale of the coronavirus, however, may offer authoritarians a greater opportunity than any event short of war. It has no borders, and the sense of panic it creates is broader than that after a terrorist attack, which is designed to scare but usually targets one locale — and which has nowhere near the same economic impact. In a war or a natural disaster, average people can have some agency: They can volunteer to fight in a war or assist on the home front, or provide aid to an area slammed by a hurricane. But the virus leaves citizens powerless; to help others, all they can do is stay home, leaving them dependent on experts and officials to guide them — and unable to congregate publicly to protest a power grab. And while a war, a terrorist attack or a natural disaster may cause some areas to shutter, it does not usually close down an entire country, a shift that gives a leader the widest latitude. Finally, as autocrats like Cambodia’s Hun Sen have shown, a contagion provides an authoritarian a chance to stigmatize certain marginalized populations, scapegoating them for the disease.

Indeed, from the Philippines to Hungary, autocratic leaders in many nations are using the coronavirus to enhance their powers — to put in place new rules that will be hard to overturn even if the coronavirus is defeated. Many of the new powers have no clear end date. The pandemic will have entrenched these strongmen indefinitely.

Rodrigo Duterte, the brash, illiberal president of the Philippines, has waged a brutal drug war propelled by perhaps tens of thousands of extrajudicial killings. He also has battled the media and opposition politicians. Last month, he got the legislature, controlled by his loyalists, to grant him broad emergency powers to confront the coronavirus. Some are reasonable, like the ability to order public transport to serve health-care workers. But rights activists believe that Duterte will use his emergency powers to punish opponents and get more control of state funds. The legislature also made it a crime to spread “false information,” the definition of which is disturbingly vague, as Human Rights Watch notes. And given Duterte’s record of silencing the press, he could use the broad provisions to punish reporters who criticize him or his government’s coronavirus response.

In nearby Thailand, the military-dominated but technically civilian government also has invoked emergency powers, supposedly to fight the virus. These allow the government — which put journalists in de facto reeducation camps after a 2014 coup — to “censor or shut down media if deemed necessary,” according to the decree. Late last year, opponents of the government regularly gathered in Bangkok to protest its oppressive style; with the country now on lockdown, they basically can’t demonstrate, making it easier for officials to cast these changes as uncontroversial.

Fellow traveler Viktor Orban, who in the past decade has shifted Hungary from a democracy to an authoritarian regime with a democratic facade, is taking advantage of the coronavirus as well. This past week, Orban’s rubber-stamp parliament approved a law that gives the Hungarian leader emergency powers — indefinitely. He can rule by decree for as long as he wants, making him a dictator inside the European Union. Orban no longer maintains even the illusion of democracy: He can unilaterally change any existing Hungarian law and has effectively dissolved the legislature. Now people can be put in jail for spreading false information, which, as in the Philippines, is not well-defined. It’s unclear what, if anything, these changes have to do with battling the coronavirus.

In Poland, leaders of the ruling Law and Justice party — which also has hollowed out democracy — have refused to cancel the early May presidential election. The party put the country on lockdown, meaning the opposition candidate cannot campaign. But Law and Justice’s candidate, Andrzej Duda, is campaigning widely on state-dominated television. (Surveys show that if the election were delayed and more people could vote, Duda would face a real fight, but in a May election with low turnout, he would dominate.) The party also stuffed new electoral laws into emergency legislation to deal with the coronavirus, passed during a chaos-filled parliamentary session. These shift the election procedures in ways that further favor Law and Justice by making it easier for the party’s older core of supporters to cast ballots, but not for opposition supporters to vote.

Israel’s Benjamin Netanyahu has tried to utilize the virus for political reasons as well. Facing criminal charges that had already been filed against him, he cited the pandemic as a reason to close the courts, paralyze the Knesset and operate, for a time, without parliamentary oversight. His moves helped end a political stalemate in which his opposition fragmented; then a portion of it joined his governing coalition — leaving Netanyahu in power just as he looked to be at the end of his rope. Netanyahu’s moves angered many Israelis, but, as in Thailand, the coronavirus ban on sizable public gatherings meant they could not go into the streets to protest. Some held an online, live-streamed protest, but a virtual rally does not pack the same visceral effect as a massive street demonstration.

In Russia, meanwhile, Putin’s government has used the virus to bolster its surveillance systems in Moscow, installing more facial-recognition tools to maintain quarantines — tools that could also be deployed to anticipate public rallies. And Putin got his compliant legislature to end term limits, possibly allowing him to serve into the 2030s, as most of Russia was distracted by the spreading virus.

In Turkey, strongman Recep Tayyip Erdogan’s government has detained people who dared criticize its response to the crisis. And the authoritarian government of Turkmenistan, which claims, implausibly, that the country has no coronavirus cases, banned the use of the word “coronavirus” this past week.

In other parts of Asia, too, strongmen see an opportunity in the virus. Cambodian autocrat Hun Sen has cited the outbreak to arrest at least 17 critics of his regime since late January, according to Human Rights Watch — mostly people who shared information about the spread of the coronavirus in the country and the government’s response. Several of those arrested were members of the leading (and banned) opposition Cambodia National Rescue Party. And Hun Sen has used the virus to smear minority groups like Khmer Muslims. The Health Ministry is insinuating on its official Facebook page that Muslims were somehow responsible for introducing the contagion to Cambodia.

This kind of attack has a history. Over the centuries, rulers often have blamed outsiders for pandemics. During the Black Death of the early 14th century, for instance, officials in Strasbourg claimed that Jews caused the outbreak, as Elizabeth Kolbert noted in the New Yorker this past week. Jews were given a choice: Convert or die. Half converted, and the rest were put to death. People blamed Jews in other European cities for the Black Death, too, and slaughtered them.

Autocrats’ seizure of emergency powers is often difficult to undo. History suggests that in many cases, after a crisis is over, authoritarian leaders keep those powers and make them a normal part of governing. Putin has only become stronger since he used the Chechnya war to amass more authority, and now he is gunning to rule Russia into his 70s. After seizing control in Indonesia, Suharto ruled dictatorially for 30 more years. What happened in the years after the Reichstag fire is well known.

But perhaps the coronavirus will play out differently. Unlike wars, in which presidents and prime ministers do not actually fight, the bosses are not immune to a pandemic. Already, world leaders like British Prime Minister Boris Johnson, Australian Home Minister Peter Dutton and Britain’s Prince Charles (none of whom are autocrats, to be sure) have contracted the coronavirus. Two senior Iranian ministers, leaders of an autocratic and opaque regime, have it. In previous pandemics — as when a plague hit the Eastern Roman Empire — infected autocrats saw their power wane. And if scientists devise a coronavirus vaccine or treatment, it would provide a clear, obvious endpoint to the panic and fear, a signal that a leader’s powers should be curtailed. In the meantime, the maneuvers by men like Hun Sen, Orban and Duterte will keep their countries backsliding further from democracy.

Twitter: @JoshKurlantzick