Countrywide Financial is on the verge of agreeing a $2bn (£1bn) cash injection from Bank of America.

Shares in the biggest US mortgage lender have halved in value this year as a result of the sub-prime market turmoil, but rose by 20% yesterday in after-hours trading.