Maitland Ward went from being a sitcom star to being a star of adult films. The actress played Rachel McGuire in the last two seasons of ABC's "Boy Meets World" from 1998 to 2000.

After her time on the show, Ward broke into the adult film industry. She wrote about her surprising career path in a book called

"Rated X: How Porn Freed Me from Hollywood," which came out on Sept. 6. "I think it's an empowering story for women and for everyone, really," Ward, who is 45, told Fox News Digital.

It's about living your truth and not listening to what everyone else tells you to do. For so long, Hollywood told me that I could only be a certain way.

The industry wanted to keep me in a box. I got to a point where I just wanted to do my own thing. I'm now my true self.

There will always be people who try to put you in a box, especially if you are a woman. For me, breaking out has been so freeing. I think that's true for everyone in any industry.

 My story just happens to be a little bit more scandalous. " 
The California native said that when she was a child, she wanted to be an actress. 

Her first role was as Jessica Forrester on "The Bold and the Beautiful" from 1994 to 1996. After the soap opera, she found herself on the set of

"Boy Meets World," a show about a boy coming of age that was made by Michael Jacobs. Ward joined a close-knit group of people as the new girl.

HOW TO AVOID 'TINDER SWINDLERS': 'BOY MEETS WORLD' STAR-TURNED-ADULT ACTRESS MAITLAND WARD IN 'RED FLAGS'

"I was treated very well; they were very nice to me," Ward said.

READ MORE