 That said, encastellation occurred mostly in the centre of the peninsula.This region, originally a county of the Kingdom of León, even adopted the name Castile because of its many castles.The castles first began to spread quickly in the tenth century, in light of the increasing power of the Castilian counts "vis-à-vis" the king.