The man who set himself on fire Wednesday is being treated in Boston for severe burns and is in critical condition.

Authorities identified the man as David Parker, 24.

Police say Parker doused himself with gasoline in his apartment at 675 Congress St. then went across the street to the statue of Henry Wadsworth Longfellow and ignited himself.

A bystanders used a fire extinguisher to put out the flames and rescue workers took him to Maine Medical Center before he was flown to a Boston burn center, officials said.