It is a time when frontier men are tough and women are scarce.
So scarce that when one breaks the law they have found other means for her punishment. No jail time for these ladies. Instead they are lotteried off.
Men who can show proof that they can support a wife can pay a fee and put their name in the drawing. But these are frontier women too and they are just as tough. But just maybe fate disguised as a kindly sheriff will see to matches made in heaven.