What was the purpose of the treaty of Fort Laramie?

A. To keep Native Americans away from migration routes used by westward settlers
B. To protect American traders and trappers from competition by Native Americans
C. To prevent the plains Indians from engaging in wars over buffalo heard
D. To guarantee the safety of the Mormon communities in the Rockies