PRESCOTT, Arizona (AP) — Kayla Mueller tried to find the good in everything — even while being held hostage by Islamic State extremists, according to her family and friends.

A portrait of the 26-year-old humanitarian aid worker from Prescott, Arizona, came as her death was confirmed by the U.S. government. Family members spoke fondly of her free spirit and efforts to ease the suffering of others as a small memorial of flowers and handwritten notes took shape in her hometown near a sign calling on people to "Pray for Kayla."

Mueller was captured in August 2013 in Syria, but her captivity had largely been kept secret in an effort to save her. President Barack Obama said a military operation last summer to recover Mueller and others failed when rescuers arrived only "a day or two" after the group had been moved.

Few details are known about Mueller's time in captivity and how she died. The Islamic State group claimed Friday that Mueller was killed in a recent Jordanian airstrike targeting the militants. The Pentagon said Tuesday that it doesn't know how she died but is certain it was not during the airstrike.

Family members released a letter an imprisoned Mueller wrote last year in which she said she was staying strong and praying.

"I have come to see that there is good in every situation, sometimes we just have to look for it," a captive Mueller wrote.

During a press conference Tuesday outside Prescott's historic courthouse, family and friends remembered Mueller and said that even in the worst circumstances, she focused on the positive. They said she taught her guards to do crafts and make peace birds out of paper. And she stood on her head for exercise in her cramped quarters.

Beyond those few details, family members have not said what life was like for Mueller in captivity, including whether she was tortured. Three other Americans — journalists James Foley and Steven Sotloff and aid worker Peter Kassig — were beheaded by Islamic State militants last year.

Arizona Sen. John McCain and Rep. Paul Gosar, a Republican who represents Prescott, were in close contact with Mueller's family and government officials throughout her captivity.

Gosar told The Arizona Republic that one effort to free Mueller involved a man who traveled to the Syrian prison camp where Mueller was being held. The man told the captors he was Mueller's husband in a ruse designed to free her, Gosar said, but it didn't work.

In addition, Gosar's office said the name of Aafia Siddiqui, a Pakistani scientist convicted of shooting at two U.S. soldiers in Afghanistan, came up in discussions with Islamic State militants over Mueller. Siddiqui is an American-educated woman whose release has long been sought by terrorists.

In Mueller's hometown, residents began to honor her. Her family has encouraged people to donate to organizations Mueller would have supported, saying big displays of support wouldn't mesh with her humble nature.

Mueller's aunt, Lori Lyon, said her niece touched the hearts of people around the world who want to be more like the globe-trotting aid worker.

"And if that is her legacy and the footprint that she leaves on the world," Lyon added, dissolving into tears, "then that is a wonderful thing."

From Prescott, she helped raise awareness of HIV and AIDS and offered comfort at a women's shelter. In Flagstaff, where she attended college, she protested genocide in Darfur. Her desire to help others stretched beyond Arizona to Palestinian territories, Israel, India, France and Syria.

"I'm not sure yet how to live in a world without Kayla, but I do know that we're all living in a better world because of her," a tearful Eryn Street, a close friend of Mueller's said from the Prescott courthouse plaza.

___

Associated Press writers Ken Dilanian, Deb Reichmann and Julie Pace in Washington; Omar Akour in Amman, Jordan; and Mohammed Daraghmeh in Ramallah, West Bank, contributed to this story.