Andreas Zelinka was born on 23 February 1802 in Wischau in Moravia. His father was chief administrator of the local estate. He attended schools in Brno and Olomouc, studied law at the University of Vienna from 1821 to 1825 and took his doctorate in 1829. From 1831 he served as a sanitary commissioner. He began his career as legal officer of the Starhemberg estates in and around Vienna, which included Erlaa, Atzgersdorf and Liesing. In 1832 he became a court and law-court advocate and was regarded as a lawyer of the old school. In 1843 he took a director's post at the Nordbahn railway.
He entered politics in 1848 with his election to the municipal committee. In June 1861 the city council elected him mayor of Vienna, and he was re-elected in 1864 and 1867. From 1862 he also sat in the Lower Austrian diet and from 1867 in the House of Lords. A committed economic liberal, he was sceptical of large expenditure by the city. He considered the high-spring water pipeline a waste and lost the vote in the city council in 1866. Even so, important preparatory work for the Danube regulation and the Central Cemetery fell into his term, as did the laying out of the Stadtpark. In 1861 Margareten was separated from the district of Wieden, and in 1865 the Ringstraße could be partly opened. As mayor he opened the first folk festival in the Prater on 23 August 1863, a celebration of the emperor's birthday.
His commitment to the poorer population made him popular. He spent his mayor's salary on donations and by his will set up foundations for the poor and orphans as well as student funds from his fortune, which is why the Viennese called him "Papa Zelinka". When he fell seriously ill in the early 1860s, the city council endowed a church window in St Stephen's Cathedral in honour of his recovery; it has not survived. Zelinka died in Vienna on 21 November 1868. Since 1898 he has had an honorary grave at the Central Cemetery. In the Stadtpark a bronze bust by Franz Pönninger recalls him, and in the Innere Stadt the Zelinkagasse has borne his name since 1869.
