A supporter of Justice and Development Party (PJD) carries her son as she shouts slogans during a campaign rally ahead of the communal and regional elections, in the city of Tinghir, in southeastern Morocco. — Reuters RABAT — The Authenticity and Modernity Party, or PAM secured most seats in local elections on Friday, closely followed by the ruling Islamist party which also won in major cities, according to preliminary results. Moroccans voted on Friday in elections seen as a test for the ruling Justice and Development Party, or PJD, in the first ballot for local and regional assemblies since the king introduced reforms to ease protests in 2011. The Interior Ministry said with votes for 80 percent of seats nationwide counted, the Authenticity and Modernity Party, or PAM, won 20 percent followed by the PJD with 17 percent, but the Islamists had won in major cities such as Casablanca, Tangiers, Rabat and Agadir. Turnout was 52 percent almost the same as in the last local elections in 2009. Under the new constitution, the king also retained his grip on security, the army and religion. Morocco's Islamist party dominated this North African kingdom's urban areas in local elections, but lost out in total seats to a party created by an associate of the king, according to preliminary results announced early Saturday. The councils manage local affairs in conjunction with state-appointed officials and are being strengthened under a new government policy of regionalization. Some 30,000 local council seats and 700 regional council seats were contested by more than 140,000 candidates from at least 30 parties. The ministry reported a turnout of 52 percent. The Party of Authenticity and Modernity took 20 percent of the seats, some 5,064 seats, with 81 percent of the votes counted. The party was created in 2008 by one of the king's counselors and it dominated local elections the following year. It fared poorly, however, in the 2011 parliamentary elections amid Arab Spring-inspired calls for reform. Those elections were dominated by the Islamist opposition party that went on to form a government. The Islamist Party for Justice and Development took 17 percent of the seats, winning control of councils in the main cities of Casablanca, Tangiers, Rabat, Fez and Agadir. Unlike their counterparts elsewhere around the region, Morocco's Islamists have played down religious issues in their campaigns and preferred to focus on combatting corruption and unemployment. The party, and its charismatic leader Abdelilah Benkirane, have preserved their popularity despite implementing austerity measures and cutting energy subsidies in order to reduce the budget deficit. — Agencies