Rabbi Ovadia Yosef, an Iraqi-born sage who turned an Israeli underclass of Sephardic Jews of Middle Eastern heritage into a powerful political force, died on Monday at the age of 93, plunging masses of followers into mourning.
Dubbed Israel's Ayatollah by critics who condemned many of his pronouncements as racist - he likened Palestinians to snakes and said God put gentiles on earth only to serve Jews - Yosef was revered by many traditional Sephardic Jews as their supreme religious leader.
Through the Shas (Sephardic Torah Guardians) party he founded in the early 1980s, Yosef, regal in his gold embroidered robes and a turban, wielded unique political influence from his modest apartment in Jerusalem.
His heavily Arabic-accented Hebrew may have been difficult to understand, but Shas members followed his political policy pronouncements and the Biblical scholar's religious rulings as if they were divine commandments.
"I don't want to describe what could, God forbid, happen (after Yosef's death)," Shas legislator Arye Deri told Kol Barama, a religious radio station. "How will the world run without the sun? How will the world run without the moon? What will be of us? Who will lead us? Who will take his place?"
At its height, Shas - now in the opposition - held 17 of parliament's 120 seats. For years, Yosef, as its leader, served as political kingmaker whose party could make or break Israeli coalition governments.
Yosef's political messages were sometimes mixed: he viewed the occupied West Bank, captured in the 1967 Middle East war, as part of the Biblical Land of Israel, but in a challenge to mainstream rabbis, he said it was permissible to cede land to prevent bloodshed.
Although Shas served in governments that pursued peace talks with the Palestinians, he voiced strong anti-Arab sentiments in sermons to devotees in Israel and abroad.
"Abu Mazen and all these evil people should perish from this world," Yosef, referring to Palestinian President Mahmoud Abbas, said in a sermon in 2010. "God should strike them with a plague, them and these Palestinians."
Palestinians condemned the speech as hateful, and Yosef also drew fire from Israelis when he once suggested that six million Jews died in the Nazi Holocaust because they were reincarnated souls of sinners.
Weaving a new social fabric in a Jewish state dominated by a so-called elite of Ashkenazim, or Jews of European descent, Yosef oversaw the establishment of Shas-run religious schools and charity institutions that drew a new generation into his rabbinical fold.
His soft-spoken cadre of young Sephardic Orthodox activists, nattily attired in black business suits and neckties, helped to reshape their community's self-image as an Israeli second class.
Born in Baghdad, Yosef arrived in Jerusalem when he was four and was ordained as a rabbi at the age of 20. In 1947, a year before Israel's founding, Yosef went to Cairo, where he headed its rabbinical court and became Egypt's deputy chief rabbi.
In 1950, Yosef returned to Jerusalem, serving as a judge in religious courts that deal with family matters and divorce and served as Israel's chief Sephardic rabbi from 1973 to 1983, a post now held by his son Yitzhak, one of his 11 children.
His major work, "Responsa, Yabia Omer", is a 10-volume collection of his rulings on questions pertaining to Jewish law and customs.
For the past several months, Yosef had been in failing health. Israeli President Shimon Peres visited his bedside on Monday in Jerusalem's Hadassah hospital, joining a steady stream of Shas politicians and top rabbis.
Thousands packed synagogues to pray for Yosef's recovery. As a hospital spokesman announced the rabbi's death, followers outside the facility and his home broke into tears, hiding their faces in their hands and swaying in worship.
"All his life, the rabbi prayed for the People of Israel," Shas legislator Eli Yishai said on Monday as Yosef's condition deteriorated and Israeli television stations interrupted regular programming to carry live reports from the hospital. "I now ask the people to pray for him."
Yosef's funeral on Monday is expected to be one of the biggest ever held in Israel, attracting a sea of Jewish mourners in traditional Orthodox black garb.
Four rabbis have been mentioned as possible successors, but with Shas outside Prime Minister Benjamin Netanyahu's government, their political influence is likely to be limited.