Britney Spears says in her book that she had an

Britney Spears says in her book that she had an abortion when she and Justin Timberlake were a couple

(CNN) – Britney Spears reveals a personal experience she kept secret for two decades in her upcoming autobiography.

During her relationship with Justin Timberlake, Spears became pregnant by the singer and had an abortion, she writes in an excerpt from the book published by People.

“It was a surprise, but for me it wasn’t a tragedy. I loved Justin so much. I always hoped that one day we would start a family together. “This alone would happen much sooner than expected,” Spears writes in her book “The Woman in Me.”

“But,” she continues, “Justin definitely wasn’t happy about the pregnancy.” “He said we weren’t ready to have a baby in our lives, we were too young.”

CNN was unable to independently review The Woman in Me.

A representative for Timberlake did not respond to CNN’s request for comment.

In the published excerpt, Spears writes about how conflicted she felt at the time.

“If it was just me, I never would have done it,” he said. “However, Justin was very clear that he didn’t want to be a father.”

“To this day it is one of the most stressful things I have ever experienced in my life,” he added.

Timberlake and Spears were in a relationship from 1999 to 2002.

Spears later married dancer Kevin Federline and had two sons, Sean Preston, now 18, and Jayden James, 17, before she and Federline divorced in 2007.

Timberlake married actress Jessica Biel in 2012, with whom he has two young sons, Silas and Phineas.

“The Woman in Me” will be released on October 24th.