Tocqueville's main purpose was to analyze the functioning of political society and various forms of political associations, although he brought some reflections on civil society too (and relations between political and civil society). For Tocqueville, as for Georg Wilhelm Friedrich Hegel and Karl Marx, civil society was a sphere of private entrepreneurship and civilian affairs regulated by civil code. As a critic of individualism, Tocqueville thought that through associating for mutual purpose, both in public and private, Americans are able to overcome selfish desires, thus making both a self-conscious and active political society and a vibrant civil society functioning according to political and civil laws of the state.