Donald Trump’s 2013 trip to Moscow has become steeped in the lore of alleged sexual antics in a hotel suite and the future president’s reported attempts to seek business opportunities and curry favor with Russian leader Vladimir Putin.

But Trump also was in Moscow for his Miss Universe Pageant. As recounted in a new book, “Russian Roulette: The Inside Story of Putin’s War on America and the Election of Donald Trump,” the Miss Universe pageant had become one of Trump’s most prized properties. It bought him millions of dollars a year in revenue and burnished his image as an “international playboy celebrity.”

For that reason, Trump exercised control over certain aspects of the pageant, notably over the selection of finalists. According to the book, an excerpt of which appears in Mother Jones, Trump hand-picked picked the women, often vetoing contestants of color if he believed there were too many.

“In short, no woman was a finalist until Trump said so,” wrote authors Michael Isikoff and David Corn.

Frequently, Trump would replace finalists chosen by judges with ones he preferred.

“If there were too many women of color, he would make changes,” a Miss Universe staffer told the authors. Another staffer said, “He often thought a woman was too ethnic or too dark-skinned. He had a particular type of woman he thought was a winner. … He liked a type. There was Olivia Culpo, Dayanara Torres (the 1993 winner), and, no surprise, East European women.”

Trump also was known to reject women “who had snubbed his advances,” the authors said.

Sometimes, pageant officials would politely challenge Trump’s rejection of women on the basis of race. “If he didn’t like a woman because she looked too ethnic, you could sometimes persuade him by telling him she was a princess and married to a football player,” a staffer told the authors.

Through the presidential campaign, various allegations of questionable behavior by Trump toward pageant contestants came to light. Former Miss Universe Alicia Machado said in 2016 that Trump once referred to her as “Miss Piggy,” “Miss Housekeeping” and “an eating machine,” the Huffington Post reported.

Former contestants for Miss Universe, Miss USA and Miss Teen USA also accused him of walking into their dressing rooms unannounced, Rolling Stone reported. In the case of Miss Teen USA, some of the contestants were as young as 15.

“I remember putting on my dress really quick because I was like, ‘Oh my god, there’s a man in here,'” Mariah Billado, the former Miss Vermont Teen USA, told BuzzFeed News in 2016.

She recalled Trump saying something like, “Don’t worry, ladies, I’ve seen it all before.”

Meanwhile, Trump has a history of racist statements and behavior, and he has previously been described as not favoring women of women of color in his pageants. In 2016, former Miss Teen USA winner Kamie Crawford took to Twitter to say she was warned that “Trump doesn’t like black people,” or that he only likes a certain “type” of black person.

She said she saw Trump turn his back to a black Miss Universe contestant who was rehearsing on stage, and “(make) a face like he was going to vomit at the sight of her.”

To win the title in almost a decade – I was forewarned prior to meeting him that, "Mr. Trump doesn't like black people. So don't take it…" — Kamie Crawford (@TheRealKamie) October 12, 2016

"…the wrong way if he isn't extremely welcoming towards you. If he is, then u just must be the "type" of black he likes." — Kamie Crawford (@TheRealKamie) October 12, 2016

Luckily for me – I was the "type" of black he liked. He toted me around his buddies who were all there gawking at the Miss Universe girls.. — Kamie Crawford (@TheRealKamie) October 13, 2016