 This gave him a good name among the elites of European nations outside France.Having wearied of serving a master in whom he no longer had much confidence, Talleyrand resigned as minister of foreign affairs in 1807, although the Emperor retained him in the Council of State as Vice-Grand Elector of the Empire.He disapproved of Napoleon's Spanish initiative, which resulted in the Peninsular War beginning in 1808.