Mormon pioneers established Salt Lake City in 1847 , shortly before the area became part of the United States. The town was important to westward expansion because it was