It was written by Rouget de Lisle in Strasbourg on April 26 , 1792 .
It was written and composed by Claude Joseph Rouget de Lisle in 1792 and adopted in 1795 as the nation 's first anthem .