PHOENIX — A Phoenix-area man has been charged with helping plan an attack on a provocative cartoon contest in Garland, Tex., last month that ended with the fatal shootings of the two gunmen.

An indictment filed in federal court in Phoenix accuses the man, Abdul Malik Abdul Kareem, of playing host to the gunmen in his home beginning in January and providing the firearms that the men used in the May 3 shooting.

The two gunmen, Elton Simpson, 30, and Nadir Hamid Soofi, 34, who were dressed in body armor, were killed by the police after firing assault rifles outside the event in Garland.

There, attendees gathered to draw cartoons of the Prophet Muhammad, an act many Muslims regard as offensive.