Morocco ’s king has inaugurated a $1.5 million center dedicated to Jewish culture in the city of Essaouira.

Last week, King Mohammed VI attended the inauguration for Bayt Dakira, which means House of Memory in Arabic.

The port city was formerly home to a large population of Jews, who at one point making up 40 percent of the population. Most Jews fled Morocco because of the hostility they felt following the establishment of Israel in 1948 and in decades after.

The center is located in a restored home that houses a small synagogue and includes a museum, research center and space that will host cultural events. The project was created by Andre Azoulay, a France-educated Moroccan Jew who serves as a senior adviser to the king.

Most of the funding came from the Moroccan government, with a quarter coming from private donors.

cnxps.cmd.push(function () { cnxps({ playerId: '36af7c51-0caf-4741-9824-2c941fc6c17b' }).render('4c4d856e0e6f4e3d808bbc1715e132f6'); });

Among a number of high-profile Moroccan Jews who attended the event and a dinner with the king afterwards were Azoulay and his daughter, Audrey, who serves as the director-general of the United Nations Educational, Scientific and Cultural Organization, or UNESCO, Moroccan Jewish comedian Gad Elmaleh and the chief rabbi of Geneva, Switzerland Izhak Dayan.

Jason Guberman, the director of the American Sephardi Federation, which is serving as a partner organization to Bayit Dakira, praised the king for his efforts.

“On the one hand it has the museum and it’s going to be about studying the past, but it’s also very much about doing events and bringing people to Essaouira today,” Guberman told the Jewish Telegraphic Agency. “It says a lot about Morocco’s future, the fact that the king would come to open up a center like this.”

The American Sephardi Federation also sent a letter together with the Conference of Presidents of Major American Jewish Organizations to the king of Morocco thanking him for opening the center.