As the US developed westward, how common was lawlessness?

by au92

As the United States expansion moved westward from the original colonies, just how lawless was it through the 1700s and 1800s? Once someone set up a homestead in the Midwest, or middle west or West Coast, how common was it for them to be hassled by people looking for theft, rape, or pillaging? Were people always on guard and armed or was it not so dire?

Thx

Georgy_K_Zhukov

More can always be said, but this older answer should be of interest for you.