The first time was during Napoleon's invasion in 1806. Napoleon then planned to take Roland's statue to the Louvre, but the inhabitants convinced him that the statue was too ugly.
The city's independence was taken away for the second time after World War II when the city found itself in the American occupation zone.