When did Hungary finally stop using Latin as its official language?

Hungary kept Latin as its official language until 1844, and even the first decree that year did not stick. On 20 June 1844 the Hungarian estates ruled that members of the National Assembly had to speak Hungarian. Croatian delegates, who customarily spoke Latin, protested loudly. The decision was revoked after exchanges between the royal court and the Diet. Then, on 13 November 1844, Ferdinand V ratified Act II of 1844. It made Hungarian the language of legislation, the National Assembly, government offices and school instruction. There had been an earlier attempt to drop Latin. Joseph II tried to replace it with German in 1784, but the decree was withdrawn after his death in 1790 and Latin came back. Hungarian did not hold the field for long either. German returned as the language of official business from 1849 to 1860, after the War of Independence.
Sources: hungarytoday.hu