The Princess of Wales ran rings around her husband Prince William in a spin class on a visit to a Welsh leisure centre - despite sporting high heels and a skirt.
William and Kate were undertaking an away day in Wales today ahead of St David's Day tomorrow, which celebrates the patron saint of Wales.
And one of their stops on the outing today was to Aberavon Leisure and Fitness Centre in Port Talbot, where they heard about how sport and exercise can support mental health and wellbeing.
As part of the visit the competitive couple took part in a spin class with other participants - and were then told they would be going up against each other in a 45-second race - despite not wearing sports gear and Kate even wearing a £20 Zara skirt and four inch Gianvito Rossi boots.
As they walked in the princess, who had already taken off her coat because of the warmth of the centre to display a white jumper and said: "I haven’t got to do that in a skirt?" Her husband made a joke of her having "high heels on".
The couple greeted their fellow riders as they took their places at the front of the class, Kate, 41, elegantly getting onto her bike with a flick of her skirt. "This is the last time I cycle in high heels," she told the class.
William, 40, took a while to adjust his bike to take account of his six-foot frame, but then the couple peddled enthusiastically as staff talked them through how the classes worked.
Centre manager Chris Pugh asked them if they fancied "getting competitive".
"What I’d like you to do, if you could bring it down to a stop…" he asked them before showing them how to adjust their screens.
"Now from a standing start you need to cover the most distance, please, and you’ve got 45 seconds to do it. I’ll tell you 3-2-1 and then go and we’ll cheer you on."
"Shall I leave the resistance as it is"’ asked the prince, clearly familiar with the bikes.
"Are we ready?" asked Mr Pugh. "Yeah!" replied Kate.
He then told them: "3-2-1, of you go go go! Peddle as hard as you can!" The princess got off to a flying start, peddling furiously. "Can I make it harder?" she asked.
The class cheered as they both then went hell for leather, William peddling furious to catch up.
"Oh my Lord!" William exclaimed as the final few seconds were counted down and Kate touched his arm at the end.
He was asked a question but puffed and laughed: "Talk in a bit. I need to get my breath back!"
Mr Pugh said: "I can only declare one winner, so the winner of today’s Tour de Aberavon is……bike number two!"
The princess clapped, assuming it would be her husband, and looked shocked when it was handed to her, shooting him a mischievously triumphant glance.
She then raised her trophy in mock celebration. "Very, very well done," said Mr Pugh.
"I think I tore my pants," joked William, who kept his suit jacked and tie on throughout.
Afterwards the couple went to the sports hall to meet children from Tywyn Primary School, who were taking gymnastics lessons, running and learning to throw a toy javelin.
Kate made a beeline for a group of young girls in leotards and asked them: "Can you do the splits?"
She revealed: "I was able to do it when I was little but I’ll have to keep practising now."
Grace Evans, six, gave the couple a demonstration of the splits and Kate told her: "My little girl likes to do that too."
Young gymnast Rafael Vazquez, seven, presented the pair with leotards, for Princes Louis and George and Princess Charlotte.
Outside the centre the royal couple were presented with daffodils on by some of the 300-strong crowd on the seafront.
Mother-of-four Meryl Partridge, 51, of Sandfields, Port Talbot, said: "Kate said her husband let her win because she had heels on but I'm not sure.
"They are both good sports for having a race-off and it was lovely to see them here."
But Prince William told well-wishers it was a fair fight and it was a "miracle" the Princess of Wales had beaten him considering her high-heel boots.
The couple were praised for spending time with additional needs pupil Evie Williams, 13, of Port Talbot. Her father Chris said: "They both have such empathy and recognised Evie is a very special little girl."
Kate stopped to chat with new mother Jessica Rowlands, 35, who had dressed her four-month-old baby Lola-Mae in traditional Welsh costume for the occasion.
Jessica said: "She thanked me for coming and standing out in the cold to see her and Prince William. She loved Lola Mae's costume and wanted to know if she was sleeping and eating well."
During the visit the royal couple were told how sport and exercise is playing a role in the community by supporting people's health and well being.
But Gemma Taylor, 40, gave the Prince a chuckle when she told him her favourite in the gymnasium is the vending machine.
Centre manager Mr Pugh said after the visit: "They were great sports, especially the princess given what she was wearing. They were fantastic. She was a very worthy winner. Extra points for the heels. No, she won fair and square, actually.
"The virtual classes here are very popular as part of well over 100 that we offer each week. It was such a pleasure to have them."
The visit to the leisure centre came after they had earlier stopped by a rehabilitation centre in Pontyclun, near Cardiff, South Wales, where they spoke to staff and patients to hear first-hand about the effects of drug and alcohol addiction.
They visited Brynawel Rehabilitation Centre having travelled to Wales to help champion mental health initiatives and meet local communities.
As part of their visit, William and Kate announced they would be collaborating with Brynawel to create a set of therapy allotments and garden, with their foundation working alongside Life at No.27 – a horticultural therapy and mental health counselling provider.
They were also greeted by a therapy dog, seven-year-old Great Dane, Ragnar.
Stroking Ragnar, William commented on the dog’s "big ears", while Kate said: "He must be very popular."
Kate was then invited to plant some sweet William seeds near Brynawel Rehabilitation Centre’s garden and allotments.
Seeing the name of the flowers, William laughed.
Volunteer gardener Vanessa Townsend helped Kate sow the seeds and said: "They will flower in two years. I’ll make sure you get some."
Two-year-old Cora Phillips then gave Kate a bunch of daffodils as the royal couple left the centre and Cora’s mother Michelle Phillips, from Llanharan, said: "Oh my goodness, I did not expect that in a million years."
William was given the title the Prince of Wales by his father the King shortly after Charles acceded to the throne, which in turn makes Kate the Princess of Wales.
After the title change, the couple said they hoped to begin "deepening the trust and respect" they have with the people of Wales after living there as newlyweds.