Q: In this task, you're given a passage, further information available on a particular linked term from the statement, and an answer term. Your job is to generate a question that can use the information provided to obtain the given answer. You should use the information on both passage and link information to create the question. Note that the answer to the question should be exactly the given answer, and if the answer is none, the answer to the question shouldn't be obtainable from the passage or linked information.
Passage: Travelogue writer, brother of more noted Ivan, the writer of the well-known epic Smrt Smail-age Cengica. He attended a German school in his native town, where he was trained to become a blacksmith. Often he indulged into travels (Montenegro, Serbia), and exceptionally in a few occasions to Bosnia. In 1841 he was back to Novi, practicing his craft and agriculture, but also engaging in literature and cultural issues in general. In 1847 he ended up in Vienna, in 1848 again in Bosnia (in Sarajevo, at the court of Fazli-pasa Serifija). At the end of 1848, in a letter addressed to his brothers he says: "I don't know when I shall return home, for I have been, I'm afraid, created for this country. Turks are very fond of me for my prudence, they say, and rayah grows ever more trust in me, and therefrom there is no other outcome but mitre on the head or a stake in the arse". After Sarajevo, Matija went to Istanbul (though the exact dates cannot be ascertained), and according to some legends even further, to Suez and the Egypt. In 1852 Matija was back to Novi, where he settled until growing ill in 1879. He lived a secluded life until the symptoms of mind degeneration have started to show, finally dying in the sanatorium of a well-known psychiatrist Richard von Krafft-Ebing, near Graz, on April 17, 1881.
Link Information: But, in his native land, Mazuranic is above all the beloved poet of Smrt Smail age Cengica"The Death of Smail-aga Cengic", 1845. Answer: 1845
A:
In what year did Ivan write Smrt Smail-age Cengica?