Countrywide, in addition to capital from shareholders, also had credit agreements with Bank of America, JP Morgan Chase, Citicorp USA (part of Citigroup), Royal Bank of Canada, Barclays, and Deutsche Bank.