A Smithtown woman who was rescued along with her two children from their flaming home in late August has died of her injuries after months of treatment, her family said Saturday.

Kristen Sidik, 36, died Thursday at the Hospital of the University of Pennsylvania in Philadelphia, where she was transferred on Monday, said her brother, Bryan Henniger, and her husband, Thomas Sidik. Before that, she spent months in the care of doctors, nurses and other support staff at Stony Brook University Hospital — treatment for which her family expressed gratitude.

“All the doctors and nurses, they became part of our family,” Henniger said. “All the doctors that we’ve seen or talked to really helped her. They gave her a chance.”

Visitation will be held from 2 p.m. to 4 p.m. and 7 p.m. to 9 p.m. on Tuesday and Wednesday at Moloney Family Funeral Home in Hauppauge. Funeral arrangements are pending.

Sidik’s children — a daughter, 3, and son, now 6 months — were released from Stony Brook Children’s Hospital weeks ago and are “both home and healthy now,” her brother said.

“She was there to protect her children until the last moments,” Henniger, 41, who now lives in Albany, said of his younger sister. “She was always worried about others.”

advertisement | advertise on newsday

In the early morning hours of Aug. 24, Sidik and her infant son, then 3 months old, were overcome by smoke and found on the floor of an upstairs bathroom by Smithtown firefighter Jenn O’Brien, who ran into the house after she was summoned to the scene at 3 a.m. following an automatic smoke-detector alarm, fire department spokesman Jeff Bressler said at the time.

A team of three firefighters who first arrived at the home had rescued Sidik’s daughter minutes earlier.

A devoted mother, wife and substitute teacher in the Great Neck school system, Sidik had been set to start teaching in Connetquot schools in September, Henniger said.

“She touched everyone’s lives, everyone she came into contact with,” said Thomas Sidik, 39. “She was a beautiful woman. She was a true warrior. She fought to the end, long and hard.”

The Sidiks had been together for 11 years and married for the last five, Thomas Sidik said.

“Every year I spent with her, it was all good,” he said.

Kristen Sidik and her siblings — including Henniger, twin sister Kelly Jambor and brother Kevin Henniger, 39 — grew up with their parents in Lake Grove. After she finished school in 2002 at SUNY Oneonta, where she played soccer, Sidik returned to Long Island and became a soccer coach.

The fire was the second time Sidik had been rescued by O’Brien. Three months earlier, O’Brien helped deliver Sidik’s son in the same bathroom of the two-story home on Sterling Lane where they were found during the blaze.

Thomas Sidik, a Hauppauge fire captain, was on reserve duty with the U.S. Coast Guard in Fort Dix, New Jersey, at the time of the fire and raced to his wife’s bedside as soon as he got word of it.

Two family dogs died in the blaze as firefighters from Hauppauge, Kings Park, St. James and Nesconset battled the flames and knocked the fire down in about an hour.

advertisement | advertise on newsday

According to a neighbor at the time, Kristen Sidik had at one time survived a serious car crash in which the vehicle rolled over and on May 22 had given birth to her son in an emergency at home.

The neighbor, Jennifer Stolz, called Sidik “a very strong woman.”