The Rise of the City-State: Medieval Urbanization