In 1093, Alfonso VI of León bestowed the county to Henry of Burgundy and married him to his illegitimate daughter, Teresa of León, for his role in reconquering the land from Moors. Henry based his newly formed county in Bracara Augusta (modern Braga), capital city of the ancient Roman province, and also previous capital of several kingdoms over the first millennia.