In the years following the invasion to 1204, when Normandy was lost to France, the new nobility maintained close ties with their homelands across the channel. This was in part secured by granting aristocrats lands in both domains, giving an incentive on all levels to maintain the union. The influx of Norman military and ecclesiastical aristocracy changed the nature of the ruling class in England, leading to the creation of an Anglo-Norman population. Some French nobles moved north to Scotland at the invitation of King David I, where they established many of the royal houses that would dominate Scottish politics in the coming centuries. These included the Balliols, the Bruces and the FitzAlans.