How did Montana get its state motto?

there is a lot of gold and silver found there