Gamaliel was a controversial leader. In a dispute about fixing the calendar, Rabban Gamaliel humiliated Rabbi Joshua ben Hananiah by asking him to show up with his "stick and satchel" (weekday attire) on the holy day which according to Rabbi Joshua's calculation was Yom Kippur. Later on, another dispute broke out regarding the status of the nightly prayer, and he humiliated him again by asking him to stand up, and to remain standing while teaching his students. This incident shocked the Rabbis, and subsequently is said to have led to a rabbinic revolt against Gamaliel's leadership of the Sanhedrin. The Sanhedrin installed Rabbi Eleazar Ben Azariah as the new Nasi. After reconciling with Rabbi Joshua, Rabban Gamaliel was reinstated as Nasi, with Rabbi Eleazar serving along with him in a rotation every third week. According to the version recorded in the Jerusalem Talmud, Rabbi Eleazar served as Av Beit Din, a viceregent. Gamaliel, however, showed that with him it was only a question of principle, and that he had no intention of humiliating Joshua; for, rising and kissing him on the head, he greeted him with the words: "Welcome, my master and my pupil: my master in learning; my pupil in that you submit to my will."