Such schemes were formerly very common, were authorized by law, and were even set on foot, in many instances, by the authorities, for raising revenue for public or benevolent purposes. In view of the ill effects of the element of gambling involved, they are now very generally made unlawful.