Ivan Cankar was born in the
Carniolan town of
Vrhnika near
Ljubljana. He was one of the many children of a poor artisan who immigrated to
Bosnia shortly after Ivan's birth. He was raised by his mother,
Neža Cankar née Pivk, with whom he established a close, but ambivalent relationship. The figure of a self-sacrificing and submissively repressive mother would later become one of the most recognizable features of Cankar's prose. After finishing grammar school in his hometown, he studied at the Technical High School (
Realka) in Ljubljana (1888–1896). During this period, he started writing literature, mostly poetry, under the influence of Romantic and post-Romantic poets such as
France Prešeren,
Heinrich Heine,
Simon Jenko and
Simon Gregorčič. In 1893, he discovered the
epic poetry of
Anton Aškerc, which had a huge influence on the development of his style and ideals. Under Aškerc's influence, Cankar rejected the sentimental post-Romantic poetry and embraced
literary realism and
national liberalism. In 1896, he enrolled at the
University of Vienna, where he studied engineering, but later switched to Slavic philology. Between 1897 and 1899, Cankar's core ideas were essentially
positivistic. In the spring of 1897 he moved back to Vrhnika. After his mother's death in autumn of the same year, he moved to
Pula and in 1898 back to Vienna, where he lived until 1909. During his second stay in Vienna, Cankar's worldview underwent a deep and rapid change. In a famous letter to the Slovene feminist author
Zofka Kveder in 1900 he rejected positivism and naturalism. He embraced
spiritualism, symbolism and
idealism, and later publicly broke with Fran Govekar. At the same time, he became highly critical of
Slovene liberalism, published a devastating criticism of Anton Aškerc's poetry and gradually moved towards socialism. He was strongly influenced by the Slovene
Roman Catholic priest and thinker
Janez Evangelist Krek, who advocated radical social activism on a Christian basis. He nevertheless continued to oppose the
clericalism and
conservativism of
Austrian Christian socialists in general and Krek's
Slovene People's Party in particular. He joined the
Yugoslav Social Democratic Party, an
Austro-Marxist party active in the
Slovene Lands and in
Istria. by
Hinko Smrekar, 1913 In 1909, he left Vienna and moved to
Sarajevo in
Bosnia and Hercegovina, where his brother Karlo worked as a priest. During his stay in Sarajevo, he gradually turned away from his previous militant
anti-clericalism, becoming more receptive to Christian spirituality. The same year, he settled in the
Rožnik district of Ljubljana. Although he remained an active member of the Yugoslav Social Democratic Party, he rejected the party's view on Yugoslav
nation-building: in a resolution in 1909, the party favoured a gradual unification of
Slovene culture and language with the
Serbo-Croatian ones in order to create a common
Yugoslav cultural nation. Cankar, on the other hand, strongly defended the national and linguistic individuality of Slovenes. Together with
Mihajlo Rostohar, he became the most vocal defender of Slovene individuality within a South Slavic political framework. Already after his electoral defeat in 1907, Cankar had started to publish numerous essays explaining his political and aesthetic views and opinions. After his return to Carniola in 1909, he began travelling throughout the Slovene Lands, delivering lectures and conferences. The most famous of these lectures were "The Slovene people and the Slovene culture" (
Slovensko ljudstvo in slovenska kultura), delivered in
Trieste in 1907, and "Slovenes and Yugoslavs" (
Slovenci in Jugoslovani), delivered in Ljubljana in 1913. In the latter, Cankar expressed a favourable opinion on the political unification of all
South Slavs, but rejected a cultural merger of South Slavic peoples. Because of the lecture, he was sentenced to one week in prison for defamation of the
Austro-Hungarian Monarchy. After the outbreak of World War I in 1914, he was again imprisoned in
Ljubljana Castle for supposed pro-
Serbian attitudes, but was soon released. His funeral was attended by a huge crowd and highest representatives from the cultural and political life in Slovenia. In 1936, his grave was moved to the
Žale cemetery in Ljubljana, where he was buried next to his youth friends and fellow authors
Dragotin Kette and
Josip Murn. ==Work==