From Roman provinces to Medieval kingdoms