In the course of the 17th century , the whole of Alsace was annexed ( in steps ) under King Louis XIV of France . He made it one of the provinces of France . It was gradually annexed by France in the 17th century under kings Louis XIII and Louis XIV and made one of the provinces of France .