the 11th century saw the creation of five villages beyond the walls to the north east evidence of its growth during ducal normandy. william the conqueror's half brother odo, earl of kent completed the cathedral in the city and it was dedicated in 1077. however the city began to lose prominence when william placed his capital at caen. when king henry i of england defeated his brother robert curthose for the rule of normandy, the city was burned to set an example to the rest of the duchy. under richard the lionheart, bayeux was wealthy enough to purchase a municipal charter. from the end of richard's reign to the end of the hundred years' war, bayeux was repeatedly pillaged until henry v of england captured the city in 1417. after the battle of formigny, charles vii of france recaptured the city and granted a general amnesty to its populace in 1450. the capture of bayeux heralded a return to prosperity as new families replaced those decimated by war and these built some 60 mansions scattered throughout the city, with stone supplanting wood.