the first territorial state was established