During the Golden Age of Jewish culture in the Iberian Peninsula, the medieval Jewish philosopher and rabbi Maimonides (1135–1204) wrote in the halakhic legal code "Mishneh Torah" that gentiles must perform exclusively the Seven Laws of Noah and refrain from studying the Torah or performing any Jewish commandment, including resting on the Shabbat; however, Maimonides also states that if gentiles want to perform any Jewish commandment besides the Seven Laws of Noah according to the correct halakhic procedure, they are not prevented from doing so. According to Maimonides, teaching non-Jews to follow the Seven Laws of Noah is incumbent on all Jews, a commandment in and of itself. Nevertheless, the majority of rabbinic authorities over the centuries have rejected Maimonides' opinion, and the dominant halakhic consensus has always been that Jews are not required to spread the Noahide laws to non-Jews.