The Canadian Imperial Bank of Commerce will pay $125 million to settle regulators’ charges of improper trading that hurt ordinary shareholders, authorities said Wednesday.

The payment, which includes $100 million in restitution and $25 million in penalties, is part of an agreement the Toronto-based bank reached with the Securities and Exchange Commission and the office of New York Attorney General Eliot Spitzer.