The ruling in the Dred Scott decision held that Congress did not have the authority to restrict slavery in the western territories, effectively invalidating the Missouri Compromise, which had prohibited slavery in certain territories north of the latitude 36°30′. Therefore, the correct answer is:
C. the Missouri Compromise, which declared any territories above a certain geographic line to be free territories.