In 1897 he became military attache at the American legation in Madrid.
When the stress came, and he retreated to the British legation, he took an active part in the defence, and spared neither risk nor toil in his exertions.
His conduct upon that legation was afterwards severely criticized; for his political antagonists accused him of betraying the true interests of the commonwealth, and using his influence for the restoration of the exiled house of Medici to power.
At a later period he was councillor of legation in the Austrian embassy at the Frankfort diet, but in 1818 he returned to Vienna.
By Article 15 the government relinquished its rights to apostolic legation in Sicily, and to theap. pointment of its own nominees to the chief benefices throughout the kingdom.