When did the Italian flag become the Italian flag?

The colours have been chosen to represent the Cispadane Republic (an alliance of northern Italian provinces) as early as January 7, 1797. However, its current form has been in use as the Italian flag since January 1, 1948.