After some years of deliberations by the Croatian Parliament and the Emperor Franz Joseph, it was finally sanctioned by law in 1866. The official sponsor was Josip Juraj Strossmayer, while the first Chairman of the Academy was the distinguished Croatian historian Franjo Rački. Đuro Daničić was elected for secretary general of the Academy, where he played a key role in preparing the Academy's Dictionary, "Croatian or Serbian Dictionary of JAZU". The Academy's creation was the logical extension of the University of Zagreb, the institution initially created in 1669 and also renewed by bishop Strossmayer in 1874. Bishop Strossmayer also initiated the building of the Academy Palace in the Zrinjevac park of Zagreb, and the Palace was completed in 1880. In 1884, the Palace also became a host of The Strossmayer Gallery of Old Masters that contained 256 works of art . The same is today one of the most prominent art galleries in Zagreb. The Academy started publishing the academic journal Rad in 1867. In 1882, each of the individual scientific classes of the Academy started printing their own journals. In 1887, the Academy published the first "Ljetopis" as a year book, as well as several other publications in history and ethnology. Ivan Supek, Mihailo Petrović, Dragutin Gorjanović-Kramberger and Lavoslav Ružička were JAZU members.. What event happened first, the completion of Academy Palace or the publishing of the academic journal Rad?