Maimonides, the Jewish philosopher, legal codifier, and court physician to the Muslim sultan Saladin in the 12th century, understood the dietary laws chiefly as a means of keeping the body healthy. He argued that the meat of the forbidden animals, birds, and fish is unwholesome and indigestible. According to Maimonides, at first glance, this does not apply to pork, which does not appear to be harmful. Yet, Maimonides observes, the pig is a filthy animal, and if swine were used for food, marketplaces and even houses would be dirtier than latrines.