At the end of the century French troops led by Napoleon Bonaparte conquered Arezzo , but the city soon turned into the hands of the resistance against the invaders with the movement of `` Viva Maria '' : this gained the city the role of provincial capital . At the end of the century French troops led by Napoleon Bonaparte conquered Arezzo , but the city soon turned into a resistance base against the invaders with the `` Viva Maria '' movement , winning the city the role of provincial capital .