Albert's conduct in the engagements won for him the complete confidence of the army, and during the Siege of Paris, his troops formed the north-east section of the investing force. During the siege, he blocked French attempts to break out of the encirclement at Le Bourget and Villiers. After the conclusion of the Treaty of Frankfurt (1871), he was left in command of the German army of occupation, a position which he held till the fall of the Paris Commune. On the conclusion of peace, he was made an inspector-general of the army and a field marshal.