Gaude Mater Polonia (Rejoice, oh Mother Poland) was probably the most popular medieval Polish anthem, written in the 13th-14th century in memory of saint Stanisław Szczepanowski, bishop of Kraków. Polish knights used to sing it after victory in battle, presumably to one of the Gregorian melodies associated with O Salutaris Hostia, on which it is based.