Chacham Moshe is one of the Sultan's closest advisors, along with Achmed. When Achmed's jealous scheme backfires, Chacham Moshe becomes even closer to the Sultan, which drives Achmed to plot against him with even more cunning. Finally, deliverance comes when the Sultan's missing signet ring is miraculously found and Achmed gets his just reward.