how would the issue of whether to allow slavery in a territory be decided, using the idea of popular sovereignty?

a by the federal government
b by a national vote
c by a vote of the people living in that territory
d by a vote of the people living in neighborhood territories

c by a vote of the people living in that territory