While he served as the head of the Yeshiva in Lublin, R' Shimon Wolf Auerbach, the son-in-law of the Maharshal, headed another Yeshiva in the same town. They both had different styles of interpretation, and this usually lead to quarreling among the students as everyone claimed that their Rabbi had the correct way. From then on, the communal leaders decreed that the students could not tell one another of the new interpretation of the Rabbis and that whoever violated this ban would be expelled from the Yeshiva. However, this didn't last for too long. When the Maharam once had difficulty explaining Tosafot and was eager to find out how R' Shimon Wolf had resolved the issue, he asked his students to find out. When the right opportunity came up, they grabbed one of the students of R' Shimon Wolf, beat him up and forced him to repeat the interpretation of his Rabbi. When the Maharam heard of it, he openly declared that only his interpretation is the correct one. A great controversy flared up between the two Yeshivot. The leaders of Lublin decided that they would send a letter to Shlomo Aboav Rav of Amsterdam to decide which one is the correct interpretation, and whichever interpretation he deems appropriate, the other would lose the right to remain as head of the Yeshiva. When the answer came back from Amsterdam it was clear that it was in favor of R Shimon Wolf. The communal leaders decided to demote the Maharam of his position as head of the Yeshiva. But the humble R Shimon Wolf refused to accept this decision. Instead, they invited the Maharsha to assume the Rabbinate in Lublin. The Maharsha gave a sermon on Shabbat night and convinced the community of Lublin to keep both of these Torah giants among them, and the controversy ended.Luboml: The memorial book of a vanished shtetl, pp. 25-27.
