9th-century fortifications