BEIJING, China - Leaked oil from a ruptured pipeline in an eastern Chinese port city exploded Friday, killing at least 35 people, injuring 166 and contaminating the sea in one the country's worst industrial accidents of the year, authorities said.

The leaked oil triggered two huge blasts, one of them tearing up concrete along a city road in Qingdao. Photos posted online showed ripped slabs of pavement, bodies, overturned vehicles and shattered windows in nearby buildings. Black smoke rose above gigantic fuel silos and darkened much of the sky.

The pipeline owned by China's largest oil refiner, Sinopec, ruptured early Friday and leaked for about 15 minutes onto a street and into the sea before it was shut off. Hours later, as workers cleaned up the spill, the oil caught fire and exploded in two locations, the city government said.

The Beijing News cited a resident surnamed Gao, who works in logistics, as saying he was driving past Qingdao's Huangdao district when he felt the force of the blasts, and then realized the ground in front of him had fractured. The air was pungent, many cars on both sides of the road were overturned and there was dark smoke rising in the distance, he said.

"It felt like an earthquake, and I was dumbstruck," Gao said, adding that there was chaos on the street as people ran, panicking, in all directions.

Authorities ruled out terrorism but the incident remained under investigation, it said.

President Xi Jinping urged local officials to go all out in finding missing people, treating the injured and in finding the cause of the accident, state TV broadcaster CCTV said.

Calls to Sinopec's headquarters in Beijing were not immediately answered, but a statement online offered condolences to victims. "We will investigate the incident with responsibility and give timely reports," Sinopec said.

The Qingdao Environmental Protection Bureau said barriers had been set up to contain the oil as it spread into the sea, but that a mixture of gas and oil from a storm sewer exploded and caught fire over the sea.

More than 3,000 square meters (32,000 square feet) of sea surface was contaminated, the city government said.

Authorities said the oil had seeped into underground utility pipes, which could have been a factor in the blasts, but they did not elaborate. They assured the public that the explosions did not affect any petrochemical plant or military facilities in the seaside district and that air quality remained good after the disaster.

The accident is likely to add to growing concerns among the members of the Chinese public about safety and environmental risks that come with oil pipeline projects.

It was China's third deadliest industrial accident this year, behind a chicken factory fire in June in Jilin that killed 121 and a mining accident in March, also in Jilin, that killed 36.

Also on HuffPost:

Loading Slideshow...
  • <em>From Getty:</em> SAN FRANCISCO, CA - OCTOBER 25: Protestors against the construction of the Keystone XL oil pipeline hold signs and stand on a Keith Haring sculpture as they demonstrate outside of the W Hotel before the arrival of U.S. President Barack Obama on October 25, 2011 in San Francisco, California. Hundreds of protestors from a wide variety of activist groups staged protests outside of the W Hotel where President Obama was holding a $7,500 per person fundraiser. (Photo by Justin Sullivan/Getty Images)

  • <em>From Getty:</em> SAN FRANCISCO, CA - OCTOBER 25: A protestor against the construction of the Keystone XL oil pipeline climbs on a Keith Haring sculpture as he demonstrates outside of the W Hotel where U.S. President Barack Obama was holding a fundraiser on October 25, 2011 in San Francisco, California. Hundreds of protestors from a wide variety of activist groups staged protests outside of the W Hotel where President Obama was holding a $7,500 per person fundraiser. (Photo by Justin Sullivan/Getty Images)

  • <em>From Getty:</em> Demonstrators listen to speakers in Lafayette Park across from the White House in Washington, DC November 6, 2011. Thousands of people are descending on the White House to join hands with one another and stand up to the Keystone XL pipeline. (Photo credit should read KAREN BLEIER/AFP/Getty Images)

  • <em>From Getty:</em> Demonstrators listen to speakers in Lafayette Park across from the White House in Washington, DC November 6, 2011. Thousands of people are descending on the White House to join hands with one another and stand up to the Keystone XL pipeline. (Photo credit should read KAREN BLEIER/AFP/Getty Images)

  • <em>From Getty:</em> A demonstrator waves signs in Lafayette Park across from the White House in Washington, DC November 6, 2011. Thousands of people are descending on the White House to join hands with one another and stand up to the Keystone XL pipeline.

  • <em>From Getty:</em> A demonstrator dressed as an oil soaked bird in Lafayette Park across from the White House in Washington, DC November 6, 2011. Thousands of people are descending on the White House to join hands with one another and stand up to the Keystone XL pipeline.

  • <em>From Getty:</em> Demonstrators listen to speakers in Lafayette Park across from the White House in Washington, DC November 6, 2011. Thousands of people are descending on the White House to join hands with one another and stand up to the Keystone XL pipeline.

  • <em>From Getty:</em> A demonstrator holds signs in front of the White House in Washington, DC November 6, 2011. Thousands of people are descending on the White House to join hands with one another and stand up to the Keystone XL pipeline.

  • <em>From Getty:</em> A demonstrator holds a magazine open to an article concerning tanker routes for the proposed Keystone XL Pipeline in front of the White House in Washington, DC November 6, 2011. Thousands of people are descending on the White House to join hands with one another and stand up to the Keystone XL pipeline.

  • <em>From Getty:</em> Children demonstrate in front of the White House in Washington, DC November 6, 2011. Thousands of people are descending on the White House to join hands with one another and stand up to the Keystone XL pipeline. AFP PHOTO / Karen BLEIER

  • <em>From Getty:</em> Demonstrators hold up a banner in front of the White House in Washington, DC November 6, 2011. Thousands of people are descending on the White House to join hands with one another and stand up to the Keystone XL pipeline. AFP PHOTO / Karen BLEIER

  • <em>From Getty:</em> Demonstrators begin to line up around the White House in Washington, DC November 6, 2011. Thousands of people are descending on the White House to join hands with one another and stand up to the Keystone XL pipeline.

  • <em>From Getty:</em> Demonstrators in front of the White House in Washington, DC November 6, 2011. Thousands of people are descending on the White House to join hands with one another and stand up to the Keystone XL pipeline.

  • <em>From Getty:</em> Demonstrators line up in front of the White House in Washington, DC November 6, 2011. Thousands of people are descending on the White House to join hands with one another and stand up to the Keystone XL pipeline.

  • <em>From Getty:</em> A sign is seen in Lafayette Park across from the White House in Washington, DC November 6, 2011 during a protest. Thousands of people are descending on the White House to join hands with one another and stand up to the Keystone XL pipeline.

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/6320235175/in/set-72157628079975942" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/6320925438/in/set-72157628079975942" target="_hplink">Emma Cassidy and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/6320975886/in/set-72157628079975942" target="_hplink">Shadia Fayne Wood and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/6320307073/in/set-72157628079975942" target="_hplink">Amy Dewan and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/6320919878/in/set-72157628079975942" target="_hplink">Emma Cassidy and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/6320760272/in/set-72157628079975942" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/6321050482/in/set-72157628079975942/" target="_hplink">Clayton Conn and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/mothernature/6306631974/" target="_hplink">mothernature photography</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>