Amanda Knox, the U.S. student convicted of murdering her British flatmate Meredith Kercher in Italy in November 2007, arrives in court for her appeal trial
Amanda Knox, the U.S. student convicted of murdering her British flatmate Meredith Kercher in Italy in November 2007, arrives in court for her appeal trial session in Perugia October 3, 2011. REUTERS/Giorgio Benvenuti (© Giorgio Benvenuti / Reuters)

NEW YORK (Reuters) - Amanda Knox, the American student accused of the 2007 murder of her British roommate while both were students in Italy, paints herself in her new memoir as a naive young woman railroaded by a foreign justice system.

Knox, 25, spent four years in prison for the murder of Meredith Kercher while they were exchange students in Perugia, a hilltop Italian university town popular with foreigners. Knox, who became a tabloid sensation in Britain and Italy, was acquitted on appeal in 2011. She returned to her Seattle-area home, but Italy's high court last month ordered a retrial.

In the hotly anticipated memoir, published by HarperCollins and in bookstores on Tuesday, Knox maintained her innocence and wrote that she regretted that in prison she had never reached out to Kercher's family to say that the girl's death had been a "heartbreak to so many."

The memoir was released in conjunction with an interview with ABC's Diane Sawyer that is due to air on Tuesday evening.

Knox wrote that she wished she had reached out to Patrick Lumumba, a Congolese bar owner whom Knox falsely accused of the murder. Lumumba, who was briefly jailed and then cleared, said in 2011 that Knox's accusation destroyed his life.

"Naming him was unforgivable, and he didn't deserve it, but I wanted to say that it wasn't about him," Knox wrote. "I was pushed so hard that I'd have named anyone."

Knox penned letters to both, but her lawyers advised against sending them because it would hurt her legal case.

In the 457-page memoir, Knox writes of arriving in Italy at age 20 with "rookie Italian" and a penchant for "immature antics," eager to develop independence and come into her own.

Knox writes that she and Kercher bonded right away: "We did what all girls do: we talked about the guys we liked in Perugia and the ones we'd left behind."

She denies that the relationship soured and describes a friendly final encounter as Knox and her new boyfriend, Raffaele Sollecito, left the shared apartment hours before the murder.

Knox writes that she did not understand that she was a suspect in Kercher's murder, and believed that she could help investigators find the killer.

"I was too confused to know what the truth was," she writes at one point, after implicating Lumumba and saying she witnessed the murder.

Her "bafflement" at the situation eventually gave way to "quiet indignation and defiance," Knox writes.

"I followed their directions like a lost, pathetic child," she writes of the investigation leading up to her arrest. "I didn't question, I didn't object, I just put my head down when they told me to and trusted that this would all make sense soon."

Knox, dubbed "Foxy Knoxy" in many early media reports, was initially portrayed as promiscuous and dishonest but a lobbying campaign by her family helped change perceptions.

Kercher's half-naked body, with more than 40 wounds and a deep gash in the throat, was found in the apartment she shared with Knox in the town in central Italy. A student at Leeds University, she was 21 when she died.

The Italian high court in March also overturned the acquittal of Sollecito, Knox's former boyfriend, and ordered a new trial on a date still to be set.

The acquittal came after independent forensic experts said the police scientific evidence was deeply flawed and the investigation had been bungled.

An Ivorian drifter named Rudy Guede, was found guilty and sentenced to 16 years in a separate trial. He is now the only person serving time for the murder, although prosecutors say he could not have killed Kercher by himself.