The compromise which established that territory from the Louisiana Purchase above 36 degrees 30' would be free from slavery was the Missouri Compromise. It was established to regulate slavery in the United States in the western territories by banning slavery in the former Louisiana territory north of the parallel 36 degrees 30' except Missouri. The act was however repealed by the Kansas-Nebraska Act.
I believe you meant (Goal and not "gold") if so, the answer is-to invade the North from the West
It helped the economy grow and made France one of the most prosperous countries in Europe.