Turkey has closed its airspace to some Israeli military flights following a deadly raid on a Gaza-bound aid ship, the Turkish prime minister and officials said Monday. An official said civilian commercial flights were not affected. Recep Tayyip Erdogan told reporters in Toronto that Turkey imposed a ban on Israeli flights after the May 31 raid on a Turkish ship that was part of a six-vessel international aid flotilla, according to the state-run Anatolia news agency. The prime minister, who is in Canada to attend a summit of the Group of 20 major industrial and developing nations, did not elaborate. A Turkish government official said, however, that the ban was for Israeli military flights and that commercial flights were not affected. It was not a blanket ban and each flight request would be assessed case-by-case, the official added. On Sunday, Israel's Yediot Ahronot newspaper reported that Turkey had not allowed a plane carrying Israeli military officers, en route to a tour of memorial sites in Auschwitz, Poland, to fly over Turkish airspace. The transport plane, with more than 100 officers on board, was forced to make a detour, the paper said. The Israeli military “refrained from responding officially to the event so not to exacerbate the rift in relations,” the newspaper added. The Israeli prime minister's office had no comment on Erdogan's statements. Eight Turks and a Turkish-American were killed in the raid that drew Turkish outrage and widespread international condemnation.