De Tocqueville based his work, Democracy in America, on a ten-month visit to study the American prison system for the French government, from May 1831 to February 1832.
A study of American social and political institutions, Democracy in America was published in two parts in 1835 and 1840.