Shimon Sofer (Hungarian rabbi)

Shimon Sofer (1850 – 2 June 1944) was the Rav of the Hungarian city of Eger (Erlau) and the progenitor of the Erlauer Hasidic dynasty. His grandson, Rabbi Yochanan Sofer, was the Erlauer Rebbe in Israel.
Early life and family.
Sofer was one of 10 children born to Rabbi Samuel Benjamin Sofer (1815 – 1872), known as the "Ksav Sofer". The "Ksav Sofer" was the son of Rabbi Moses Sofer (1762 – 1839), known as the "Chasam Sofer", the rabbi of Pressburg (present-day Bratislava) and the leading rabbinical figure of Orthodox Judaism in Hungary and the Austrian Empire, as well as one of the greatest Talmudic scholars of his day.
Shimon Sofer studied and lived the early part of his life in Kisvárda (Kleinwardein), Szabolcs County, Northern Great Plain region of Hungary, a town boasting a large Jewish community. He was a diligent student, completing the Talmudic tractate of "Beitzah" six times before his bar mitzvah.
In 1870 he married Esther Fried, daughter of Rabbi Yitzchak Fried of Kleinwardein. The couple had a daughter. Esther died after two years of marriage. In 1874 Sofer married his cousin, Glikle Birnbaum, the daughter of Rabbi Chaim Shmuel Birnbaum of the town of Dubno, Russian Empire (today in western Ukraine). Rabbi Birnbaum was the son-in-law of Rabbi Akiva Eiger, Sofer's great-grandfather. The couple had a son, Akiva, but divorced soon after his birth.
During this period, Sofer lived both in Uman and Kiev, where he became known as a brilliant Torah scholar. Despite his young age, he was offered the position of Chief Rabbi of Kiev, an offer he turned down.
Thereafter, he lived some two years in the Polish city of Kraków, in the company of his uncle, also named Rabbi Shimon Sofer (author of "Michtav Sofer").
In approximately 1875, Sofer returned to Pressburg and married another cousin, Malka Esther Spitzer, the daughter of Rabbi Zalman Spitzer of Vienna. With Malka, he had 13 children.
Rabbi of Erlau.
In 1881, Sofer was appointed rabbi of the Hungarian city of Eger (Erlau). There he founded a large yeshiva which was attended by elite Torah scholars from throughout Hungary. This yeshiva became a foundation of the Erlau dynasty, a branch and direct link to the philosophy and teachings of Sofer's grandfather, the "Chasam Sofer". Sofer delivered a daily "shiur" (Torah lecture) in the yeshiva and provided for his students' physical and spiritual needs. He also became a spokesman for Torah Judaism and fought to protect his community from the proponents of Neolog Judaism, a Hungarian reform movement. His fame spread throughout Hungary and he was offered prestigious rabbinical posts in other cities, but he chose to remain in the small community of Erlau, saying that he wished to raise his children away from a "big city atmosphere".
As Sofer aged, one of his sons, Rabbi Moses Sofer (author of "Yad Sofer"), took on the role of Rav and "dayan" (rabbinical judge) of the town of Erlau. Rabbi Shimon Sofer was referred to by his congregation with the revered and affectionate title of "Rebbe".
In his old age, Sofer lost his eyesight, and one of his students would read aloud the Talmud with the commentaries of Rashi and Tosafos to him. Sofer would correct the boy whenever he made a mistake, as he possessed a phenomenal memory.
Death and legacy.
Sofer led the Jewish community in Erlau for some 64 years. Shortly after the Germans occupied Hungary in May 1944, they placed the Jewish population in ghettos. In June, the Germans deported Sofer and his entire community – some 3,000 Jews – to Auschwitz. They arrived on 21 Sivan (June 2), and were gassed a few hours later. Sofer was 94 at the time of his death. His son, Rabbi Moshe Sofer, was murdered at the same time.
Sofer authored a book of responsa, "Hisorerus Teshuva" (hence he is known as "The Hisorerus Teshuva"), and "Shir Maon" on the Torah. He was able to pay for the publication of these works only with the help of his wife, who sold all her jewelry to cover the printing costs. He also edited the works of his father and grandfather and prepared them for publication.
Sofer's grandson, the late Rabbi Yochanan Sofer, re-founded the Erlau community in Israel in 1953. Rabbi Yochanan printed his grandfather's "sefarim" at the Institute for Research of the Teachings of the Chasam Sofer (), which he established. Rabbi Yochanan also presided over the Ohel Shimon-Erlau Yeshiva, named in memory of Rabbi Shimon Sofer.
Children.
Sofer had 15 children from his three wives: 