Creation of the Ukrainian national anthem started in the autumn of 1862 during one of Pavlo Chubynsky's parties. Some researchers believe that the Polish national song "Poland Is Not Yet Lost" (), which later became the national anthem of Poland but dating back to 1797 and the Polish Legions, also had an influence on Chubynsky's lyrics. At the time, the Polish national song was very popular among East European nations of the former Commonwealth of Poland, that were fighting for their independence: a few months after Chubynsky had written his lyrics, the January Uprising began. Likewise influenced by the Polish national song, Slovak poet Samo Tomášik wrote the song "Hey, Slavs", which later became Yugoslavia's anthem in 1944–2003.