WASHINGTON — A major U.S. power company has pleaded guilty to killing eagles and other birds at two Wyoming wind farms and agreed to pay $1 million as part of the first enforcement of environmental laws protecting birds against wind energy facilities.

Until the settlement announced Friday with Duke Energy Corp. and its renewable energy arm, not a single wind energy company had been prosecuted for a death of an eagle or other protected bird — even though each death is a violation of federal law, unless a company has a federal permit. Not a single wind energy facility has obtained a permit.