OLDSMAR — A homeless man who was purposely set on fire in the woods off Tampa Road was pronounced dead Sunday. On Tuesday, his accused killer was charged with murder.

Harold Rosenbaum Jr., 44, faces a charge of murder in the death of James Heffernan, 60, according to the Pinellas County Sheriff's Office.

Deputies said the men were staying at a homeless camp set up on wooded land owned by the Southwest Florida Water Management District about 600 feet south of Tampa Road, near East Lake Road.

According to the Sheriff's Office, they were drunk in a tent with 64-year-old David Mahoney when they began to argue Saturday around 12:30 a.m. The argument got physical and Heffernan left the tent with Rosenbaum following him. Heffernan struggled to get away as Rosenbaum continued to argue with him. Rosenbaum picked up a gas can, poured its contents over Heffernan and set him on fire, deputies said.

Mahoney left the tent a few moments later to see Heffernan fully engulfed in flames. It took him a few minutes, but he put the fire out, deputies said.

Authorities said they arrived on the scene to find Heffernan with severe burns over 75 percent of his body. Mahoney had burns from extinguishing the fire and Rosenbaum was not injured. Heffernan was transported to a local hospital in critical condition where he later died from his injuries.

Rosenbaum was arrested and charged with attempted murder Sunday. He was charged with first-degree murder Tuesday and remains in Pinellas County Jail.

Contact Daniel Figueroa IV at dfigueroa@tampabay.com. Follow @danuscripts.