He survived all of his children, dying on 15 August 1038, and was buried in his new basilica, built in Székesfehérvár and dedicated to the Holy Virgin. His death was followed by civil wars which lasted for decades. He was canonized by Pope Gregory VII, together with his son, Emeric, and Bishop Gerard of Csanád, in 1083. Stephen is a popular saint in Hungary and neighboring territories. In Hungary, his feast day (celebrated on 20 August) is also a public holiday commemorating the foundation of the state, known as State Foundation Day.