The Norman family de Berchelai arrived in England with William the Conqueror. This same family built Berkeley Castle in Gloucestershire in 1153. Roger de Berchelai is mentioned in the Domesday Book as is his son, John, listing them as owning twenty hamlets. In 1069 John left Gloucestershire for Scotland in the retinue of Margaret, sister of Edgar the Aetheling, later St Margaret. Margaret married King Malcolm III of Scotland who granted John de Berchelai the lands of Towie in Aberdeenshire and the title of Barclay of the ilk. Other members of the family settled in Mathers, Gartley and Pierston as well as places such as Brechin, Banff, Collairnie and Stonehaven. The clan forged strong alliances and took influential positions in national affairs. Between the years 1165 and 1189, Sir Walter de Berkeley, Gartley III, Lord Redcastle and Inverkeillor, was Great Chamberlain of Scotland under William I of Scotland.