in the now formally structured District, with those of Maryland applying to that portion of the District ceded from Maryland, and those of Virginia applying to that portion ceded from Virginia. At the time, Maryland had a sodomy law applicable only to free males with a punishment of "labour for any time, in their discretion, not exceeding seven years for the same crime, on the public roads of the said county, or in making, repairing or cleaning the streets or bason [sic] of Baltimore-town;" it imposed the death penalty for slaves committing sodomy. Similarly, Virginia had a penalty of 1–10 years for free persons committing sodomy, but imposed the death penalty for slaves committing sodomy. The law went into effect on February 27, 1801. Thomas Jefferson Governor of Virginia In 1779, Thomas Jefferson wrote a law in Virginia which contained a maximum punishment of castration for men who engaged in sodomy. However, what was intended by Jefferson as a liberalization of the sodomy laws in Virginia at that time was rejected by the Virginia Legislature, which continued to prescribe death as the maximum penalty for the crime of sodomy in that state. Andrew Jackson In 1831, Congress established penalties in the District of Columbia for a number of crimes, but not for sodomy. It specified that "every other felony, misdemeanor, or offence not provided for by this act, may and shall be punished as heretofore[.]" At the time, Maryland and Virginia had a penalty of 1–10 years for committing sodomy. It went into effect on March 2, 1831. William Henry Harrison Governor of the Indiana Territory In 1807, William Henry Harrison signed into law a comprehensive criminal code that included the first sodomy law for the Indiana Territory that eliminated the gender-specifics, reduced the penalty for a maximum of 1 to 5 years in prison, a fine of $100 to $500, up to 500 lashes on the back, and a permanent loss of civil rights. Benjamin Harrison In 1892, Congress passed a law for the District of Columbia that states that "for the preservation of the public peace and the protection of property within the District of Columbia." Labeled in the law as vagrants were "all public prostitutes, and all such persons who lead a notoriously lewd or lascivious course of life[.]" All offenders had to post bond of up to $200 for good behavior for a period of six