Then the doctors approached his father the Chasam Sofer and said "We know that you are a Godly and holy man; if with your prayers you cannot help your son; on our part, all hope is lost".
The bewildered doctors said to the Chasam Sofer; now we truly know that you are a Godly man; to which he answered, "I hadn't given up hope, not even for a second."
He first studied under Rabbi Mordechai Ephraim Fishel Sofer (not a relation, as far as is known) and then entered his father's famous Yeshiva; and became one of its outstanding students.
The wedding was held in the town of Kamaren after which the couple settled in Pressburg where Sofer continued his studies and helped his father with the yeshiva.
Shimon's grandson Rabbi Yochanan Sofer has established numerous Synagogues in Israel and one in the USA, naming them Kehila Kdosha (trans.