The song was written and composed in 1792 by Claude Joseph Rouget de Lisle during the French Revolutionary Wars , and was originally titled `` Chant de guerre pour l'Armée du Rhin '' .
It was first called `` Chant de guerre pour l'armée du Rhin '' ( `` Marching Song of the Rhine Army '' ) .