Police are searching a house believed to belong to the gunman responsible for the deaths of six people and critically injuring three at a Sikh temple in Wisconsin.
Authorities in the US are treating the shooting as an act of domestic terrorism.
Witnesses said the gunman opened fire when he entered the kitchen of the Sikh Temple of Wisconsin in suburban Milwaukee at around 10:30am local time, as women prepared a Sunday meal.
The suspect was a bald, white man, approximately 40 years old, said Thomas Ahern, a spokesman for the US Bureau of Alcohol, Tobacco, Firearms and Explosives.
Authorities did not release his identity.
Four people were shot dead inside the sprawling temple. Three, including the gunman, were killed outside.
The gunman ambushed and shot a police officer who was responding to a 911 call and helping a shooting victim, Oak Creek Police Chief John Edwards said.
A second officer shot and killed the gunman.
Edwards said he had no identification for the shooter nor information on what kind of weapon or weapons he had.
The victims' identities and descriptions were not made public.
The wounded officer, a 20-year veteran, was taken to a hospital and is expected to survive. Hospital officials said two other victims, also in critical condition, were being treated.
Law enforcement personnel surrounded and searched a gray, two-storey house in the Cudahy neighborhood presumed to be the residence of the gunman.
Generators and floodlights were set up along the middle-class block.
A police source confirmed that a search warrant had been issued for the house, and a bomb squad was on the scene.
Temple member and US Army Reserve combat medic Jagpal Singh, 29, said people who were at the service when the shooting broke out described to him a scene of chaos and confusion.
Worshippers scrambled to escape the gunfire, but some tragically ran in the wrong direction. Others survived the rampage by locking themselves in bathrooms, he said.
Singh said the eyewitnesses described the shooter as a white man who was either shave-headed or bald.
"Domestic terrorist"
Turban-wearing Sikhs are often mistaken for Muslims, and the Federal Bureau of Investigation is overseeing the probe into shootings, Edwards said.
"We're treating this as a domestic terrorist incident," he told reporters. Officials had no details about a possible motive.
Milwaukee's Froedtert Hospital said three male victims included one who had been shot in the abdomen, one in the extremities and face, and a third who was hit in the neck.
Some witnesses at the scene had said there was more than one gunman, but Edwards said reports of multiple gunmen were common in incidents that involved only one shooter.
"We believe there was one but we can't be sure," he said.
Officers finished sweeping the temple only after hours of searching, and Edwards said the investigation was just starting.
President Barack Obama said he was "deeply saddened" and pledged his administration's commitment to fully investigate the shooting.
Obama was briefed by counterterrorism adviser John Brennan and FBI director Bob Mueller and told the situation at the temple was "under control".
"The president said that he wanted to make sure that as we denounce this senseless act of violence we also underscore how much our country has been enriched by our Sikh community," the White House said in a statement.
Sikhs in US
The Indian embassy in Washington said it was in touch with the National Security Council about the shooting and an Indian diplomat had been sent to the Sikh temple in Wisconsin.
The Sikh faith is the fifth-largest in the world, with more than 30 million followers. There are an estimated 500,000 or more Sikhs in the United States.
Members of the Milwaukee Sikh community complained to police and a state representative last year about an upturn in robberies and vandalism at Sikh-owned gas stations and stores.
Phoenix police said they were in contact with local Sikh leaders and had increased patrol presence around the three temples in the city until further notice.
New York police said they were increasing security at Sikh temples as a precaution. There are no known threats against temples in the city, they said in a statement.
Sapreet Kaur, executive director of the Sikh Coalition civil rights organization, said Sikhs had been the target of several hate-crime shootings in the United States in recent years.
"The natural impulse of our community is to unfortunately assume the same in this case," he said in a statement.