The gunman who infiltrated Resort World Manila, a leisure complex in the Philippines capital, set fire to himself and died, the city’s police chief said. Shots fired sparked fears of a terror attack, but police say the man wanted to steal casino chips.

At least two people are now believed to have died in the incident, Reuters reports, citing a local TV company and a funeral home. It has not been clarified if the victims died of injuries receiving during the panic caused by the appearance of the gunman, or if the attacker was the direct cause.

Smoke was earlier seen billowing from the building’s upper floor amid a manhunt for the gunman.

“Our assessment is he [the gunman] burned himself. He committed suicide,” Reuters quoted Oscar Albayalde, chief of the Manila police office, as saying on the radio.

The #Manila gunman is dead, but conflicting reports over how: one cop said he was shot dead, another said suicide https://t.co/jNV9yuZ8zM — Rahul Kalvapallé (@Kalvapalle) June 1, 2017

The gunman did not intend to kill anyone, and may have wanted to steal casino chips, said the country’s chief of police, contradicting Islamic State (IS, ISIS/ISIL), which earlier claimed the attack.

"We cannot say this is an act of terror, he did not hurt anyone," Ronald Dela Rosa told DZMM radio "If you are a terrorist you will sow terror."

Latest media reports suggest that 54 people have sought medical help as a result of the attack, receiving treatment for physical injuries as well as smoke inhalation. No gunfire injuries have been reported.

#Philippines#Manila-latest reports on #ResortWorldAttack, 54 injured taken to hospital, 18 kept; one dead gunman who set himself on fire pic.twitter.com/GGokRwA4wv — R.E.A.L Human Rights (@realhumanrights) June 2, 2017

Philippines Red Cross earlier reported that 25 victims had been delivered to hospitals across Manila, but Dela Rosa said that the injuries mostly a consequence of the panic, resulting from the appearance of the masked attacker, who reportedly carried a gun and a canister of gasoline, which he used to start a fire at a casino table. Several eyewitnesses said that bystanders jumped out of windows in terror of the gunman.

Please pray for our PNP-SAF(with PNP Chief Dela Rosa) who will enter Resorts World to save people who were trapped inside.🙏🙏#PrayForManilapic.twitter.com/zLZDFazxzH — Stypayhorlikson1D (@DanicaZhayne1D) 1 June 2017

The perpetrator, whom Dela Rosa described as "Caucasian" remains at large, but the official said that most of the rooms inside the sprawling complex had been checked and declared safe.

Islamic State claimed responsibility for the attack, via a channel it normally uses to report on its uprising against the government in the province of Marawi, SITE Intelligence Group reported.

Fleeing staff said that the suspect was immediately identified as a terrorist, causing chaos.

This man was playing in the casino when the attack happened #Manilapic.twitter.com/8YlnkbrM9c — Charlotte Dubenskij (@CDubenskij_RT) 1 June 2017

"I was about to return to the second floor from my break when I saw people running. Some hotel guests said someone yelled 'ISIS'," Maricel Navaro, en employee, told DZMM radio.

"We went to the basement locker room and hid there. People were screaming, guests and employees were in panic," Navaro said. When we smelled smoke, we decided to go for the exit in the carpark. That's where we got out. Before we exited, we heard two gunshots and there was thick smoke on the ground floor."

Resorts World Manila is currently on lockdown following reports of gunfire from unidentified men. — Resorts World Manila (@rwmanila) June 1, 2017

We ask for your prayers during these difficult times. — Resorts World Manila (@rwmanila) June 1, 2017

The US State Department has acknowledged the attack and warned citizens to stay away from the vicinity of the mall, including the country’s main Ninoy Aquino Airport, which is responsible for handling over 100,000 passengers daily.

The incident came amid an escalating standoff between government forces and Islamist rebels on the traditionally restive southern island of Mindanao, which have been re-energized by an alliance with Islamic State.

Over 170 people, most of them militants, have died in recent weeks as the government has deployed the army to retake the city of Marawi from the Islamists. Martial law has been declared on Mindanao, home to 20 million people, and President Rodrigo Duterte said that its use could be extended nationwide, prior to the Manila attack on Friday morning.

#Manila#Philippines - reports of explosions/gunfire at Resorts World Manila, near the Manila Intl Airport. Avoid area & monitor local news. — Travel - State Dept (@TravelGov) June 1, 2017

Thick smoke coming off from the top floor or Resorts World Manila. Gunshots were allegedly heard by people inside the casino area. pic.twitter.com/LeiTXdePCM — Dexter Cabalza (@dexcabalzaINQ) June 1, 2017

Employees of Resorts World Manila ran out after hearing gun fire from the second floor. Bonnet-wearing men are the suspects. @inquirerdotnetpic.twitter.com/zqGEo7lcAB — Dexter Cabalza (@dexcabalzaINQ) June 1, 2017

BREAKING: Ilang tao, sugatan matapos magmadaling lumabas ng Resorts World Manila sa Pasay. Nakarinig kami ng 2 pang putok ng baril. @dzbbpic.twitter.com/MdB5Aj5iaC — James Agustin (@_jamesJA) June 1, 2017