Ferdinand Augustin Haller von Hallerstein (; 27 August 1703 – 29 October 1774), also known as August Allerstein or by his Chinese name Liu Songling (), was a Jesuit missionary and astronomer from Carniola (then Habsburg monarchy, now Slovenia). He was active in 18th-century China and spent 35 years at the imperial court of the Qianlong Emperor as the head of the Imperial Astronomical Bureau and Board of Mathematics. He created an armillary sphere with rotating rings at the Beijing Observatory and was the first demographer in China who precisely calculated the exact number of Chinese population of the time (198,214,553). He also participated in Chinese cartography, serving concurrently as a missionary, "cultural ambassador" and mandarin between 1739 and 1774. Life and work Hallerstein was born in Ljubljana, Carniola (then part of the Habsburg monarchy, now in Slovenia) as a member of the Hungarian branch of the famous Haller von Hallerstein family from Nuremberg, Germany. He was baptized Ferdinandus Augustinus Haller L.B. ab Hallerstein in Ljubljana on 28 August 1703. He spent his youth in Mengeš, where his family owned Ravbar Castle, and studied at the Jesuit college in Ljubljana. He was a member of the Academy of Sciences in all the three cities, from Germany and Vienna, where he mainly published his scientific disputes, to Rome and Lisbon, the city of his correspondence and of his personal friend – the Queen of Portugal. It was from Portugal that he traveled to India as a missionary, where he worked in Goa and Macau and then continued his travel to Beijing, China. The former Beijing Astronomical Observatory, now a museum, still hosts the armillary sphere with rotating rings, which was made under Hallerstein's leadership and is considered the most prominent astronomical instrument. His list and the Chinese translation reached Europe in 1779. The Chinese emperors objected to census-taking, or at least to census-publication, lest the Chinese might recognize their strength and grow restless. It confirms all the calculations of one of his predecessors, Father Amiot and affords a proof of the progressive increase of the Chinese population. In the 25th year he found 196,837,977 souls, and in the following year, 198,214,624. Hallerstein's census is to be found in "Déscription Générale de la Chine", p. 283. He was buried in the Jesuits' Zhalan Cemetery in Beijing. Legacy In Budapest, translations of his letters were published already in the 18th century. A part