U.S. Sen. Elizabeth Warren has joined the ranks of women making sexual harassment claims in the wake of the Harvey Weinstein scandal, saying a senior faculty member once made inappropriate comments and chased her around a desk while trying to get his hands on her.

“I was a baby law professor and so excited to have my first real teaching job,” Warren said during a pre-recorded segment of NBC’s “Meet the Press,” “and there was this senior faculty member who, you know, would tell dirty jokes and make comments about my appearance.”

During the segment, which aired yesterday, Warren’s story was interwoven with similar stories told by three other female Democratic senators — Missouri’s Claire McCaskill, Hawaii’s Mazie Hirono and North Dakota’s Heidi Heitkamp.

“One day he asked me if I would stop by his office, which I didn’t think much about. And I did,” Warren said on video. “And he slammed the door and lunged for me. It was like a bad cartoon. He’s chasing me around the desk, trying to get his hands on me.

“And I kept saying, ‘You don’t want to do this. You don’t want to do this. I have little children at home. Please don’t do this,’ ” she added. “And trying to talk calmly. And at the same time, what was flickering through my brain is, ‘If he gets hold of me, I’m going to punch him right in the face.’ ”

Warren said she eventually escaped the office and only told her best friend what had happened. She said she wondered what she did to “bring this on” and “wore a lot of brown” after the encounter.

Warren taught law at several universities in the late 1970s and early 1980s. She did not say where the incident took place.

NBC sent out a tweet saying it reached out to every female senator as part of the #MeToo campaign, which began after the allegations against Weinstein by numerous women as a way to show that sexual assault and harassment are frequent. Warren said she is speaking out to show solidarity.

“It’s a way to say, ‘We’re here for each other,’ ” Warren said. “And it’s also a way to say, ‘No. It’s not about what you did. He’s the one who stepped out of line. And this is on him.’ ”