on_game_start = {
	on_actions = {
		ck_remove_mayors
	}
}

ck_remove_mayors = {
	effect = {
		every_province = {
			limit = {
				has_holding_type = city_holding
				county_controller = { NOT = { has_government = tribal_government } }
				county_controller = { NOT = { has_government = steppe_admin_government } }
				county_controller = { NOT = { has_government = meritocratic_government } }
				county_controller = { NOT = { has_government = celestial_government } }
			}
			county_controller = { get_title = prev.barony }
			}
	}
}