(CNN)The lone gunman behind the casino attack that left 37 dead in Manila last week was in debt and had a gambling problem, Philippine police say.

Jessie Carlos Javier, a 42-year-old man from the Philippines, was identified as the suspect in last week’s attack in the Philippines capital, said Oscar Albayalde, police chief for the Manila area.

[restrict]

Carlos was separated from his wife and had been laid off from his job. Recently, he was banned from entering all casinos at the request of his wife, according to Southern Police District Chief Tomas Apolinario Jr.

Police believe Carlos, who died from a self-inflicted gunshot wound, acted alone. ISIS had claimed responsibility for the attack Friday, but officials have repeatedly denied it was terror-related.

“This is the truth. This is all the truth,” Albayalde told reporters as authorities gave details of the lone assailant.

 

How the attack unfolded

Early Friday, a gunman entered the Resorts World Manila, an upmarket hotel and casino complex near the Ninoy Aquino International Airport, firing shots from an assault rifle and setting fire to gambling tables.

Most of the victims are believed to have died due to suffocation from the smoke.

The man ransacked a room and stole gaming chips, Philippine National Police Chief Ronald Dela Rosa said. He stuffed chips totaling 113 million pesos ($2.3 million) in a backpack, which police later recovered, he said.

It was not immediately clear how many people were hurt in the attack, which started around midnight on Thursday, June 1. Stephen Reilly, the resort’s chief operating officer, later told reporters that about 30 people were hurt and nobody was killed, CNN Philippines reported.

Relatives of a victim sit in front of the Resorts World Hotel, a popular tourist site in Manila, the capital of the Philippines that was on lockdown after a shooting on June 2, 2017. A police official said the incident was a robbery attempt by one person and not a terrorist attack.

It was not immediately clear how many people were hurt in the attack, which started around midnight on Thursday, June 1. Stephen Reilly, the resort’s chief operating officer, later told reporters that about 30 people were hurt and nobody was killed, CNN Philippines reported.

During the attack, the gunman engaged in a firefight with casino employees, police said.

Carlos was shot and wounded by security guards, and retreated into a hotel room, where he doused a bed with gasoline and shot himself, police said.

He was found dead around 7 a.m. local time, according to a statement from the resort.

CNN Philippines reported he was found in the room, his body burned beyond recognition. It was next to an automatic weapon and a .380-caliber pistol.

CNN’s Yuli Yang contributed to this report. [/restrict]