EU member states and the European Parliament reached an accord Thursday on a new regulatory system designed to prevent a failing bank from wrecking the economy.

Parliament had opposed an agreement reached in December by EU leaders on how to close down a bank in trouble, saying it was too unwieldy, but the European People’s Party said these differences had now been resolved.