Stephen I, also known as King Saint Stephen, was the last Grand Prince of the Hungarians between 997 and 1000 or 1001, and the first King of Hungary from 1000 or 1001, until his death in 1038. The year of his birth is uncertain, but many details of his life suggest that he was born in, or after, 975, in Esztergom. At his birth, he was given the pagan name Vajk. The date of his baptism is unknown. He was the only son of Grand Prince Géza and his wife, Sarolt, who was descended from a prominent family of gyulas. Although both of his parents were baptized, Stephen was the first member of his family to become a devout Christian. He married Gisela of Bavaria, a scion of the imperial Ottonian dynasty.
After succeeding his father in 997, Stephen had to fight for the throne against his relative, Koppány, who was supported by large numbers of pagan warriors. He defeated Koppány with the assistance of foreign knights including Vecelin, Hont and Pázmány, and native lords. He was crowned on 25 December 1000 or 1 January 1001 with a crown sent by Pope Sylvester II.