In an order issued on Friday, a Tunisian court officially banned Wonder Woman, a U.S. film starring former Israeli soldier Gal Gadot in its lead role, Al Jazeera reported. 

The film was due to be shown at two venues in the country in early June, but the screenings were suspended following a complaint from the nationalist al-Chaab Party (People’s Movement Party), Al Jazeera wrote

The suspension - which was not a legal ban of the film at the time - sparked controversy in the North African country. While many supported it, others labeled it an unacceptable form of censorship. 

In recent weeks, the film drew criticism across the Arab world, while being vetoed in countries including Lebanon and Qatar

This is because its female lead, Gal Gadot, is a former Israeli soldier who publicly supported Israel's bombing of Gaza in 2014. 

Gadot served in the Israeli army for two years and had previously voiced her support for the Israeli military forces on her official Facebook page. 

"I am sending my love and prayers to my fellow Israeli citizens. Especially to all the boys and girls who are risking their lives protecting my country against the horrific acts conducted by Hamas," she wrote during the 2014 Gaza War. 

Operation Protective Edge, saw Israeli forces kill more than 2,100 Palestinians in the Gaza Strip in less than two months.

In addition, Gadot had boasted about how her military training has helped her practice for her role.

Banned in Lebanon and Qatar

Lebanon's ban over the film was put into effect in June just hours before it was set to premiere. 

Issued by the country's minister of interior, the decision was based on the recommendation of a six-member Ministry of Economy committee. 

It came days after The Campaign to Boycott Supporters of Israel-Lebanon put pressure on the government to block the film, which had already passed Lebanon's standard security screening procedures and was promoted in theaters across the country.

At the time, the ban caused quite a stir, making global headlines. 

Although some Lebanese were upset over the decision, the ban falls in line with Lebanon's efforts to boycott the supporters of Israel and Israeli-affiliated businesses - a task handed to the Bureau for the Boycott of Israel at the Ministry of Economy and Trade. 

Lebanon officially considers Israel an enemy state, with some lands in southern Lebanon still occupied by the Jewish state.

A few weeks after Lebanon's ban, the Marvel superhero film was prohibited in Qatar. 

Jordan also imposed a brief ban on the film but later allowed it to screen. 

Several other Arab countries moved forward with the film's screening, including the UAE, Oman, and Bahrain.