Realism was an artistic movement that developed in the mid-19th century in response to industrialization and urbanization. Realist artists aimed to depict ordinary people and everyday subjects based on close observation of reality rather than idealization. They sought to reveal the truth of contemporary social conditions, influenced by scientific empiricism and Marxist views of class struggle. Gustave Courbet was a leading French realist who painted scenes of working class life. In America, Thomas Eakins painted realistic portraits and scenes focusing on anatomy and the human form. The development of photography also prompted discussion about the purpose of art. Some artists embraced or were inspired by photography while others reacted against its realism.