WASHINGTON — The Trump administration said Wednesday it will create a way for Americans to legally and safely import lower-cost prescription drugs from Canada for the first time, reversing years of refusals by health authorities amid a public outcry over high prices for life-sustaining medications.

The move is a step toward fulfilling a 2016 campaign promise by President Donald Trump, and it weakens an import ban that has stood as a symbol of the political clout of the pharmaceutical industry.

It comes as the industry is facing a crescendo of consumer complaints over prices, as well as legislation from both parties in Congress to rein in costs, along with a sheaf of proposals from the Democratic presidential contenders. Ahead of the 2020 election, Trump is feeling pressure to deliver on years of harsh rhetoric about the pharmaceutical industry.

Making the announcement Wednesday, Health and Human Services Secretary Alex Azar said the administration’s decision recognizes that prescription drug manufacturing and distribution is now international.

“The landscape and the opportunities for safe linkage between drug supply chains has changed,” Azar said. “That is part of why, for the first time in HHS’s history, we are open to importation. We want to see proposals from states, distributors, and pharmacies that can help accomplish our shared goal of safe prescription drugs at lower prices.”

Stephen Ubl, president of the industry group Pharmaceutical Research and Manufacturers of America, called the plan “far too dangerous” for American patients. “There is no way to guarantee the safety of drugs that come into the country from outside the United States’ gold-standard supply chain,” Ubl said in a statement. “Drugs coming through Canada could have originated from anywhere in the world.”

Most patients take affordable generic drugs to manage conditions such as high blood pressure or elevated blood sugars. But polls show concern about the prices of breakthrough medications for intractable illnesses like cancer or hepatitis C infection, whose annual costs can run to $100,000 or much more. And long-available drugs like insulin have seen serial price increases that forced some people with diabetes to ration their doses.

Azar, a former drug company executive, said US patients will be able to import medications safely and effectively, with oversight from the Food and Drug Administration. Azar used to be a skeptic of importation, and was once quoted dismissing it as a gimmick.

One prong of the administration’s proposal would allow states, wholesalers and pharmacists to get FDA approval to import certain medications that are also available here. Trump had recently endorsed a new Florida law to allow importation.

Another part of the plan would allow drugmakers to seek approval for reimportation of their own drugs. This second provision would cover cutting-edge biologic drugs as well mainstays like insulin, and it could apply to drugs from other countries besides Canada.

It’s unclear how soon consumers will see results. Azar spoke of a regulatory process lasting “weeks and months” and he also called on Congress to pass legislation that would lend its muscle to the effort, which could short-circuit attempts by the pharmaceutical industry to overturn the changes in court.

“The FDA has the resources to do this,” said acting FDA Commissioner Ned Sharpless. “The agency is interested in considering any reasonable proposal that maintains the bedrock of safety and efficacy for the American consumer.”

Importation has backers across the political spectrum.

Sen. Chuck Grassley (R-Iowa), chairman of the panel that oversees Medicare, said on Twitter that it would lower prescription drug costs. He and Democratic presidential candidate Sen. Amy Klobuchar of Minnesota have a bill to facilitate importation. Sen. Lamar Alexander (R-Tenn.), who chairs the health committee, welcomed the plan but said the key is whether importation can be done safely.

During Tuesday night’s Democratic presidential debate, multiple candidates talked about the need to lower drug costs. Sen. Bernie Sanders (I-Vt.) noted the disparity in US and Canadian prices. “I took 15 people with diabetes from Detroit a few miles into Canada and we bought insulin for one-tenth the price being charged by the crooks who run the pharmaceutical industry in America today,” he said.

The leading drug industry trade group, known as PhRMA, is a powerhouse that generally gets its way with lawmakers. It spent $128 million on lobbying in 2017, according to its most recent tax filings. But pressure on the industry is rising across many fronts.

In the Senate, Trump is supporting Grassley’s bipartisan bill to cap medication costs for Medicare recipients and require drugmakers to pay rebates to the program if price hikes exceed inflation. Democrats in the House are pressing for a vote on a bill allowing Medicare to directly negotiate prices on behalf of millions of seniors enrolled in its prescription drug plan. Separately, the Trump administration is pursuing a regulation that would tie what Medicare pays for drugs administered in doctors’ offices to lower international prices.

Drug prices are lower in other economically advanced countries because governments take a leading role in setting prices. But in the US, Medicare is not permitted to negotiate with drug companies.

Some experts have been skeptical of allowing imports from Canada, partly from concerns about whether Canadian suppliers have the capacity to meet the demands of the much larger US market.

But consumer groups have strongly backed the idea, arguing that it will pressure US drugmakers to reduce their prices. They also point out that the pharmaceutical industry is a global business and many of the ingredients in medications sold in the US are manufactured abroad.