Story highlights McMath was declared brain-dead by doctors December 12, 2013 a few days after surgery on her tonsils

She died on June 22 from complications associated with liver failure

(CNN) Jahi McMath, an Oakland teenager whose brain-death following a routine tonsil surgery in 2013 created national headlines, died on June 22, according to the family's attorney.

She was 13 when she underwent surgery to treat pediatric obstructive sleep apnea, a condition that made her stop breathing in her sleep and caused other medical problems.

Nearly five years later, "Jahi died as the result of complications associated with liver failure," the statement from attorney Christopher Dolan said.

She underwent surgery on December 9, 2013 at the Children's Hospital & Research Center Oakland. After the procedure to remove her tonsils, adenoids and extra sinus tissue Jahi was alert and talking to doctors and even requested a Popsicle.

According to her family, Jahi was in the intensive care unit when she started to bleed and went into cardiac arrest. On December 12, 2013 she was declared brain-dead. Her family disagreed with the declaration.

Read More