A couple of years ago Washington fell into anaphylactic shock over the high cost of EpiPens, devices that shoot adrenaline into someone having an allergic reaction. But the Trump administration this week injected some overdue competition into the market that could lower prices for millions of Americans.

On Thursday the Food and Drug Administration approved the first generic competitor to Mylan's EpiPen. The competing drug is manufactured by the Israeli pharmaceutical company Teva. One might wonder why a simple spring device filled with a cheap medicine didn't have competitors, even decades after invention.

That was one question in 2016, when Congress hauled in Mylan CEO Heather Bresch to register outrage about the more than $600 list price of a two-pack of pens, which millions of kids and adults have to keep on hand. Not everyone pays full price after rebates and discounts, and some of the shock came from insurance designs that increased out-of-pocket costs. But the sticker price had increased more than 500 percent over 10 years.

Yet if Mylan kept prices high, the company had help from the FDA. The agency had not articulated standards for a class of drugs known as "complex generics" such as inhalers, which are more fraught than proving similarity to, say, a molecule pill. Mylan thus had no direct competition, though it now sells its own generic copy.

Other injectors are on the market, but a pharmacist can't substitute these versions thanks to issues as minor as the instructions for the device, though there is no clinical distinction. Companies like Teva have spent years ensnared in FDA processes, and in the meantime Mylan could increase prices without market consequences.

Before he became the current FDA commissioner, Dr. Scott Gottlieb told Congress in 2016 about the "Catch-22" for drugmakers: They couldn't win approval as a generic because another injection device wasn't exactly the same as EpiPen, but other regulations also make it hard for competitors to get branded alternatives through the FDA's new drug approval pathway.

Gottlieb has made clarity for such complex generics a priority at the FDA, and on Thursday he called the Teva device approval part of the agency's efforts to remove barriers to competition. The approval is particularly timely amid supply shortages of EpiPens.

FROM AN EDITORIAL IN THE WALL STREET JOURNAL