Comedian Joan Rivers died in a New York hospital Thursday afternoon, a week after suffering cardiac arrest during a medical procedure, her daughter said.
"She passed peacefully at 1:17 p.m. surrounded by family and close friends," Melissa Rivers said in a written statement.
The funeral for Rivers will be at Temple Emanu-El in Manhattan on Sunday, according to temple spokeswoman Elizabeth Fezrine. Details, including the time and if the public will be allowed to attend, are not yet known, she said.
Rivers, 81, had been on life support at Manhattan's Mount Sinai hospital, where she was taken after she stopped breathing at the Yorkville Endoscopy clinic last Thursday.
Rivers was undergoing an apparently minor elective procedure at the clinic when she suffered cardiac and respiratory arrest, according to the New York Fire Department.
Paramedics took her by ambulance to Mount Sinai Hospital, about a mile from the clinic, where she was initially listed in critical condition.
The outpatient clinic is now being investigated by the New York State Department of Health, spokesman James O'Hara said.
Her death also has triggered an investigation by the New York medical examiner's office, its spokeswoman, Julie Bolcer, told CNN. "The cause and manner of death will be announced at some point," she said.
The Rivers family made very little information about her medical condition public, finally confirming Tuesday that she was on life support.
"My son and I would like to thank the doctors, nurses, and staff of Mount Sinai Hospital for the amazing care they provided for my mother," her daughter said. "Cooper and I have found ourselves humbled by the outpouring of love, support, and prayers we have received from around the world. They have been heard and appreciated.'
Melissa Rivers and her son Cooper have spent the past week by Rivers' hospital bedside, rushing there last Thursday when they learned of her illness.
The clinic has not responded to repeated calls from CNN about the state's investigation.
Yorkville Endoscopy's website says it is an "ambulatory surgical center" that has been "approved by the Department of Health." The description of its accreditations is blank.
"Yorkville Endoscopy is a state of the art facility, staffed by highly experienced endoscopists whose mission is to provide safe and compassionate care to patients and their families," the website says.
Tributes to Rivers and her long career included one from former first lady Nancy Reagan, whose close circle of friends included Rivers.
"Joan Rivers was not only a dear friend, but one of the kindest and funniest people I ever knew," Reagan said. "I doubt there's anyone who hasn't laughed at her or with her until they cried. Today our tears are those of sadness. I know I join millions in saying, 'Thanks for the good times Joan, we will truly miss you.' My love and deepest sympathy go to Melissa and Cooper."
Former CNN host Larry King knew Rivers for 45 years. "She knew no boundaries," King said. "Everything was funny to her. You couldn't really object because she took no prisoners."
(CNN)