Beginning with early motte-and-bailey fortifications around 900 CE, medieval castle design became increasingly sophisticated.