ROME -- The Italian government is rescuing Monte dei Paschi di Siena after Italy's third-largest lender failed to raise the 5 billion euros ($5.2 billion) it needed to stay afloat.

The government passed the decree early Friday, saying it was 100 per cent guaranteeing the bank's retail customers with part of a 20 billion-euro fund approved by parliament to guarantee the stability of Italian banks.

Shares in Monte dei Paschi were suspended Friday on the Milan stock exchange.

MPS said late Thursday it hadn't secured a key anchor investor to pump money in, and that its efforts to swap debt for equity had netted only 2.45 billion euros, setting the stage for the government bailout.

Under the decree, the government will temporarily support MPS by offering it capital under a formula agreed with the European commission called "precautionary recapitalization," under which the state offers assurances that the bank is solvent and that the government will get its money back.

The bank's troubles come amid broader concerns over Italy's banking system, which is weighed down by some 360 billion euros in bad loans.

Monte Paschi is by far the most vulnerable after it was listed as the worst-performer in this summer's European Union stress tests of banks.

The consumer advocate organization Codacons estimated the Italian bailout fund could cost each Italian family 833 euros.