Two gunmen were killed Sunday night in Garland after opening fire on an unarmed security officer outside a provocative contest for cartoon depictions of Prophet Muhammad, police say.
A bomb squad was also called in to search the vehicle driven by the gunmen as a precaution, authorities said.
Police were using robotic detection equipment to search the vehicle. No device has been found so far.
The men drove up to the Curtis Culwell Center in Garland as the event was scheduled to end and began shooting at the security officer around 7 p.m., the city said in a statement. Garland police officers returned fire, killing the men.
The security guard, 58-year-old Bruce Joiner, was treated and released from a hospital nearly two hours later, police said. He worked for Garland ISD and was unarmed when he was shot, police spokesman Joe Harn said.
It was not immediately clear whether the shooting was connected to the event inside, a contest hosted by the New York-based American Freedom Defense Initiative that would award $10,000 for the best cartoon depicting the Prophet Muhammad, Harn said.
But he said at a late Sunday news conference that authorities were searching the gunmen's vehicle for explosives, saying, "Because of the situation of what was going on today and the history of what we've been told has happened at other events like this, we are considering their car (is) possibly containing a bomb."
Drawings such at the ones featured at the Texas event are deemed insulting to many followers of Islam and have sparked violence around the world. According to mainstream Islamic tradition, any physical depiction of the Prophet Muhammad — even a respectful one — is considered blasphemous.
The Curtis Culwell Center, a school-district owned public events space where the Texas event was held, was evacuated after the shooting, as were some surrounding businesses. The evacuation was lifted several hours later and police were not aware of any ongoing threat, but a large area around the center remained blocked off late into the night.
Police helicopters circled overhead as bomb squads worked on the car. Harn said the bodies of the gunmen, who had not yet been identified, were not immediately taken from the scene because they were too close to the car. He said they would be removed once the car was cleared.
Harn said the district hires security for events at its facilities, but noted additional security also was in place for Sunday's event. The sponsoring group has said it paid $10,000 for off-duty police officers and other private security.
Harn said the city had not received any credible threats before the shooting.
Texas Gov. Greg Abbott said state officials are investigating, and Dallas FBI spokeswoman Katherine Chaumont said that agency is providing investigative and bomb technician assistance.
"Texas officials are actively investigating to determine the cause and scope of the senseless attack," Abbott said in a statement. "Our thoughts and prayers remain with all those affected tonight."
The event featured speeches by American Freedom Defense Initiative president Pamela Geller and Geert Wilders, a Dutch lawmaker known for his outspoken criticism of Islam. Wilders received several standing ovations from the crowd and left immediately after his speech.
Wilders, who has advocated closing Dutch doors to migrants from the Islamic world for a decade, has lived under round-the-clock police protection since 2004.
After the shooting, authorities escorted about 75 contest attendees to another room in the conference center, where a woman held up an American flag, and the crowd sang "God Bless America."
The group was then taken to a separate location, where they were held for about two hours until being briefly questioned by FBI agents before being released.
Johnny Roby of Oklahoma City, Oklahoma, who was attending the contest, told the Associated Press he was outside the building when he heard around about 20 shots that appeared to be coming from the direction of a passing car.
Roby said he then heard two single shots. He said he heard officers yell that they had the car before he was sent inside the building.
Geller told the AP before Sunday's event that she planned the contest to make a stand for free speech in response to outcries and violence over drawings of Muhammad. She said in a statement issued Sunday night that the shooting showed how "needed our event really was."
In January, 12 people were killed by gunmen in an attack against the Paris office of the satirical newspaper Charlie Hebdo, which had lampooned Islam and other religions and used depictions of Muhammad. Another deadly shooting occurred the following month at a free speech event in Copenhagen featuring an artist who had caricatured the prophet.
Tens of thousands of people rallied around the world to honor the victims and defend the freedom of expression following those shootings.
Geller's group is known for mounting a campaign against the building of an Islamic center blocks from the World Trade Center site and for buying advertising space in cities across the U.S. criticizing Islam.
When a Chicago-based nonprofit held a January fundraiser in Garland designed to help Muslims combat negative depictions of their faith, Geller spearheaded about 1,000 picketers at the event. One chanted: "Go back to your own countries! We don't want you here!" Others held signs with messages such as, "Insult those who behead others," an apparent reference to recent beheadings by the militant group Islamic State.
Dr. Bilal Rana, president of Ahmadiyya Muslim Youth Association released the following statement:
"On behalf of the Ahmadiyya Muslim Youth Association — the largest Muslim youth group in the country — we stand by our fellow Americans in shock and horror at today's shooting. While we wait for investigators to tell us more about the shooters, we wholly condemn any such acts of violence and find them completely unjustifiable. Our faith calls us to engage in dialogue. So we condemn any use of violence to intimidate anyone."
Neither the FBI office in Washington, D.C., nor the Dallas office had any immediate comment.
There was a heavy police presence all afternoon outside of the center. Organizers spent nearly $10,000 on extra security for the event, police said.