Describe the Enlightenment and the rise of democratic ideas as the context in which the nation was founded.