President Recep Tayyip Erdogan screened a montage of videotaped snippets from the attack on Muslim houses of worship in an apparent attempt to galvanize his pious, conservative base ahead of March 31 local elections. At televised rallies in Istanbul and Tekirdag to the west, he showed blurred fragments of suspected attacker Brenton Tarrant’s online manifesto and his livestream from the massacre in Christchurch, New Zealand, which claimed the lives of 50 people.

The suspected attacker, who ranted about Turkey in his manifesto, “targeted Turkey and me,” Erdogan said. The Turkish leader then pivoted to assail the leader of Turkey’s main opposition CHP party, Kemal Kilicdaroglu, who was shown in the campaign video, for talking about “terrorism rooted in the Islamic world.”

Erdogan invoked anti-Muslim sentiment to prod his devout supporters to close ranks at the polls amid an economic slump that’s taking a toll on the nation of 82 million. Turkey’s economy entered a technical recession last year following a crash in the lira that also sent inflation to more than five times the official target of 5 percent.