Sofer was born on 10 May 1885 to his father Rabbi Shimon and mother Malka Esther Spitzer. Malka was the daughter of Gitel Schreiber and Rabbi Shlomo Zalman Spitzer, Rabbi of Schiffschul, Vienna. In his adolescent years, Sofer learned at the yeshiva of Rabbi Avraham Greenberg in Kežmarok, Hungary. He later learned at the Pressburg Yeshiva under the auspices of Rabbi Akiva Sofer. Sofer soon became known as a Torah genius and would engage in written halachic responsa with great rabbis such as Rabbi Sholom Mordechai Schwadron of Berezhany, Rabbi Yitzchak Glick of Tolcsva and Rabbi Nethanel Fried of Balmazújváros. At the Yeshiva, Rabbi Akiva Sofer once pointed out Sofer to a visitor, affectionately saying: "This is our Rosh Yeshiva". Rabbi Mordechai Leib Winkler of Mad wrote that Sofer was baki in Talmud Bavli, Talmud Yerushalmi, Rishonim and Acharonim. Sofer received Semicha from various rabbis prior to his marriage.
Married life
Sofer married Tushene , the daughter of Rabbi Moshe Yochanan Schoenfeld, Rabbi of Érmihályfalva. For a few years, Sofer engaged in business, but was ultimately appointed to preside as Dayan on the Beth Din of the Erlau Orthodox congregation. His father, Rabbi Shimon, requested that he be retested by three rabbis and ordained Semicha once again before joining the Beth Din; something Rabbi Moshe did with ease. Sofer was offered many prestigious rabbinical positions, but turned them down in order to be with his father and to invest his time in publishing the Torah commentaries of his illustrious family. Sofer edited and published the works of the Chassam Sofer, Ksav Sofer and Sofer Mahir and authored many of his own works on the Torah, most of which were lost during the war. As his father aged, Sofer became more active in communal matters and served as the active rav and dayan of Erlau alongside his father. He also supervised the cheder and yeshiva.
Children
Sofer and his wife had six children; Avraham Shmuel Binyamin, Yochanan, Chava Rivka, Leah, Gitel Tobia and Reizel. Avraham Shmuel Binyamin was a Torah genius and studied at the Yeshiva of Rabbi Yosef Asher Pollack , in Verpelét, Hungary. He also studied at the Yeshiva of Rabbi Chaim Mordechai Roller in Piatra Neamţ, Romania, from whom he received Semicha. Yochanan also studied at the Verpelét Yeshiva, and later became Rabbi of Erlau and Rosh Yeshiva of Yeshivas Chassam Sofer in Budapest and Eger. He re-founded the Yeshiva in Jerusalem, Israel and was the previous Rebbe of the Erlau Hasidic Dynasty. Chava Rivka, Leah, Gitel Tobia and Reizel all were unmarried and perished in the Holocaust.
Death and legacy
In 1944, Sofer and his family were deported to Auschwitz by the Nazis together with the Jews of Erlau. On 12 June 1944, Sofer, his wife, daughters and his father Rabbi Shimon were murdered by the Nazis. He was survived by his sons, Avraham Shmuel Binyamin and Yochanan. After World War II, Avraham Shmuel and Yochanan reunited in Budapest. There they re-established the Yeshivas Chassam Sofer together with Rabbi Moshe Stern of Debrecen. In 1947, the brothers moved to Eger and re-established the Kehilla and Yeshiva there. Though Avraham Shmuel was older than Yochanan, he preferred that Yochanan assume the rabbinical position, giving him and the Yeshiva full support, both personally and monetarily. Avraham Shmuel engaged in business, but spent much of his time in the Yeshiva studying with the students. Avraham Shmuel died in 1948, unmarried, due to an illness. He was buried in the Jewish Cemetery in Eger, near the grave of his grandmother Malka Esther Sofer. Yochanan, the sole survivor of Sofer's family, married Miram Pall. They had three children in Eger; Moshe, Yaakov and Avraham Shmuel Binyomin Sofer. After emigrating to Israel in 1950, they had four more children; Shimon, Akiva Menachem, Zalman and Aharon. Yochanan refounded the Yeshiva in Jerusalem, Israel, and over the years established a network of synagogues in Israel and the USA naming them “Kehillot Yad Sofer” after his father. Yochanan led a respectable community in Israel retaining the name Erlau. He was a presiding member of the Moetzes Gedolei HaTorah, and a key leader and posek of the Charedi population in Israel.
Written works
Sofer authored many Torah commentaries, most of which were lost during the Holocaust. Remaining today is his responsa on the Shulchan Aruch named Yad Sofer. This book of responsa was published by his son, Yochanan, who added his own commentary and notations named Itur Sofrim. These sefarim were printed in 1949 in Budapest at Gewirtz Brothers Printery.