State formation and conflicts