Mester chaired the Surgery Department of the Bajcsy Zsilinszky Teaching Hospital in Budapest from 1947 until 1963. He publicly welcomed the 1956 Hungarian uprising against Communism yet, when it failed, he was not persecuted because of his important medical work.