What was the Dred Scott Case?

The Dred Scott case was a famous case involving a slave that was living in Illinois which was a free state. Mr Scott basically sued for their freedom claiming that they were not free and did not win.