War of the Oranges
In 1801, Saint-Cyr was sent to Spain to command the army intended for the invasion of Portugal ("see War of the Oranges"), and was named grand officer of the Legion of Honour. When a treaty of peace was shortly afterwards concluded with Portugal, he succeeded Lucien Bonaparte as ambassador at Madrid.