Good Day! You need to complete the settlement questline before. It starts directly after chosing your faction. After that, you need to become a lord, by completeing its questline. And when you have finished that, you can make your lordship to a kingship :)
Comments