He was also aware of the risk to French security from an ambitious and opportunistic Prussia in the event of France becoming over-committed militarily in Italy. He therefore hastened to sign an armistice with Austria. The French and the Austrians signed the Armistice of Villafranca without consulting the Piedmontese, provoking outrage and rioting in the streets of Turin.