Kate Middleton and Prince William
Kate Middleton played as Prince William’s girlfriend even before they dated to keep him away from a flirty partygoer. Pictured: Middleton and Prince William depart the Empire Music Hall on Feb. 27, 2019 in Belfast, Northern Ireland. Getty Images/Jeff J Mitchell

Kate Middleton saved Prince William at one party they attended during their university days.

The Duke and Duchess of Cambridge met at the University of St. Andrews where their friendship and romance began. According to Marcia Moody in her book “Kate: a Biography,” there was a time when Middleton had to act as Prince William’s girlfriend just to save him from a flirty partygoer.

In their first term at the university, both attended a Harry Potter-themed party in Wemyss Castle. During the student house party, one of the female partygoers was “overtly flirting” with Prince William. Prince Harry’s brother was already very uncomfortable and Middleton came to his rescue.

“It was getting awkward and Kate walked across the room and put both her arms around him so he was able to say to the girl, 'sorry, I have a girlfriend,’ before mouthing to Kate, ‘thank you,’” Moody wrote.

According to Laura Warshauer, a university friend, the incident happened in October a month after they started school. For her, no one else could have pulled it off like Middleton. In fact, it was “so natural” that she complimented Prince William and Middleton’s relationship and how they were there for each other.

“They had each other’s backs,” she told Moody.

It wasn’t the only time Middleton saved Prince William. According to the Amazon documentary “Kate Middleton: Working Class to Windsor,” the Duchess of Cambridge also saved the future king from a personal disaster.

There was a time when Prince William wanted to drop out of school. Prince Charles was shocked with his son’s decision, but he was sympathetic when he his son voiced his decision to abandon his university life. The Prince of Wales plotted a “withdrawal strategy” to help the second-in-line to the throne.

On the other hand, Prince Philip wasn’t as supportive of the matter. The Duke of Edinburgh reportedly told Prince William to “knuckle down and not wimp out.”

According to royal biographer Katie Nicholl, it would have been disastrous for the monarchy if Prince William pulled out because he would have been labeled a “quitter.” Fortunately, Middleton was there to give him advice.

The Duchess of Cambridge told Prince William to just change his course. He swapped Art History for Geography and earned a second-class honors degree.