In the 14th century, Louis II de Bourbon re-built the castle and walls of the town. Montluçon and other Burgundian lands went back to the French crown in 1529, and Henry IV further improved the defenses.