Barclays has agreed to pay US$2bn to settle a lawsuit brought by the US government over the sale of mortgage-backed securities. The US alleged that the bank had misled investors about the quality of loans backing the securities in the run-up to the financial crisis.