The Commonwealth Bank of Australia has agreed to pay a 700 million Australian dollar (£400 million) fine for failing to comply with measures to prevent money laundering and terrorism financing.

Australia's largest bank said it had negotiated the fine with the Australian Transaction Reports and Analysis Centre, the government's financial intelligence agency better known as Austrac, to resolve a civil Federal Court case that began in August.

The agreement is subject to court approval.

The bank admitted that it was late in reporting more than 53,500 suspicious transactions exceeding 10,000 Australian dollars (£5,686) between 2012 and 2015. Each offence was punishable by a fine of up to 21 million Australian dollars (£11 million).

The bank blamed a single software error in its deposit-taking cash machines.

It argued those violations should be treated as one rather than as a series of individual offences.

The suspicious transactions were conducted by people connected to the international drug trade and the bank suspected some transactions may have been associated with terrorism financing.

The suspicious transactions were conducted by people connected to the international drug trade and the bank suspected some transactions may have been associated with terrorism financing

Matt Comyn, who became the bank's chief executive officer in April, said in a statement that court approval of the agreement would bring certainty to one of the most significant issues the bank has faced.

"While not deliberate, we fully appreciate the seriousness of the mistakes we made. Our agreement today is a clear acknowledgement of our failures and is an important step toward moving the bank forward. On behalf of Commonwealth Bank, I apologise to the community for letting them down," Mr Comyn said.

The statement added that it would work closely with Austrac on a constructive approach to combating financial crime and protecting the integrity of the financial system.

The government welcomed the agreement.

Home affairs minister Peter Dutton said the bank's disregard for its obligations allowed criminals to exploit its systems and put the Australian community at risk.

Treasurer Scott Morrison said that the Australian public expected the financial sector to better protect itself from exploitation by criminals and individuals associated with terrorist groups.

"Complying with the law is non-negotiable, especially when it comes to our largest financial institutions that Australians rely on for their homes and businesses and the government is serious about enforcing any breaches," Mr Morrison said.

Sign up to our free newsletters

Get the best updates straight to your inbox:
Please select at least one mailing list.

You can unsubscribe at any time by clicking the link in the footer of our emails. We use Mailchimp as our marketing platform. By subscribing, you acknowledge that your information will be transferred to Mailchimp for processing.