Matilda was married to William probably between 1051 and 1052 while she was still a teenager. Ever since he became duke of Normandy as a boy, William had to fight to keep Normandy. When William was born his mother and father were not married so he had the stigma of being a bastard. By marrying Matilda, who was the niece of the king of France, William gained respect in Europe.