In 1820 Viareggio was officially proclaimed city .
In 1820 Viareggio obtained the status of city .