Cows that escaped from their field on to a cycle path had to be herded back by two police community support officers.
PCSOs Dan Garnell and Rachel Williams turned stockmen when walkers using the path reported seeing the loose cows on the path that follows the old railway line between Ystradgynlais and Coelbren.
PCSO Garnell, of Dyfed-Powys Police, said: "We were approached by members of the public when we were on foot patrol who said the cows had escaped.
"My colleague Rachel managed to usher the one cow back into the field and the other cow followed me up to the farmhouse and the farmer secured it.
"Rachel was the hero and did all the rustling and I ran up to the farmhouse and the cow followed me by default really."
It’s thought the cows, which were found on the path at around 10 o’clock on Wednesday morning, may have walked out of an open gate or even forced their way out of the field.
"The cows had given up their young the previous day when the calves were taken to market and may have been trying to show their upset and forced the gate to try and get their calves back or ramblers may have left the gate open," said the PCSO.
Walkers are also reminded to follow the Countryside Code, which says gates should be closed, when visiting the area added PCSO Garnell.