Jodie Foster is opening up about her experience with harassment in Hollywood.

The "Taxi Driver" actress, 63, told NPR in a recent interview that while she had experienced misogyny in the workplace, she thinks an Oscar nomination for her role "saved" her from more dangerous abuse.

"I've really had to examine that, like, how did I get saved? There were microaggressions, of course. Anybody who's in the workplace has had misogynist microaggressions. That's just a part of being a woman, right? But what kept me from having those bad experiences, those terrible experiences?" she said on the show "Fresh Air."

Jodie Foster: 'Every man over 30 has to start thinking about their part' in sexual misconduct

"What I came to believe," Foster continued, "is that I had a certain amount of power by the time I was, like, 12. So by the time I had my first Oscar nomination, I was part of a different category of people that had power, and I was too dangerous to touch." Foster was nominated for an Academy Award in 1976 for "Taxi Driver." Though she was beaten out for the best actress in a supporting role award by Beatrice Straight, the nomination at age 12 was a feat nonetheless.