The woman's family, however, alleged her in-laws burnt her to death.
The woman in her 20s, Poonam Gupta, a resident of Laldiggi locality, was seen running in the street on Tuesday with her clothes set on fire. She was recorded in CCTV cameras in the area and the video later surfaced on social media.
Locals rushed her to a Lucknow hospital where she died Wednesday night, police said.
According to Gorakhpur Senior Superintendent of Police (SSP) Sunil Gupta, the woman in her dying declaration said she burnt herself after being harassed.
He said the action is being taken on the basis of the woman's statement.
An FIR was filed against nine people including the woman's husband and her in-laws and five of the accused have been arrested so far, the SSP said.
"She called me a few days ago and said that her in-laws were beating her for money. They burnt her for dowry," she alleged.
(This story has not been edited by Business Standard staff and is auto-generated from a syndicated feed.)