Ivan Trnski (1 May 1819 – 30 June 1910) was a Croatian writer, translator and puzzle designer. Glorified by his contemporaries as a great poet and patriot, he is now considered a skillful poet and a prolific author of occasional verse.
Trnski was born in a family of teachers in the village of Nova Rača near Bjelovar. He completed his primary education in Grubišno Polje in 1830. When his father died, Ivan was sent to the diocesan orphanage in Zagreb, where he went to the Gymnasium. He completed the three-year course for administrative border officer in Graz. After serving for several years on the Military Frontier, he was promoted to Lieutenant Colonel in 1867 and to Colonel in 1869. He was the first prefect of the Bjelovar-Križevci County from July 1871 till February 1872, when he renounced the post. In 1901 Trnski served as the president of Matica hrvatska.He died in Zagreb.
He was the brother-in-law of the Slovene liberal politician Karel Lavrič.
Trnski wrote patriotic, occasional and popular songs (Oh The Long Nights of Autumn), poems (the collections Pjesme krijesnice and Popijevke i milosnice mladenke) and short stories (Slutljivac (The Seer), arguably the first work of supernatural fiction in Croatian).
He translated from English, German, Russian and Czech (Shakespeare, Schiller, and Pushkin's Eugene Onegin).