A man has been jailed for three years after attempting to rob a village shop with a 10-inch kitchen knife.
James Lewis, 22, entered the Co-op store in Shrewton, Wiltshire, at 6pm on February 1, and headed towards the till brandishing the blade.
He leapt over the shop's counter before chasing a terrified member of staff through the store in a rampage captured on CCTV cameras.
Wiltshire Police had taken a call from Lewis's father warning about his son and two PCSOs quickly arrived at the shop.
One, PCSO Will Todd, entered the store almost immediately after Lewis and quickly ushered members of staff out to safety.
He then attempted to disarm Lewis by using a shopping basket as a shield as the robber lunged at him with the blade.
Lewis tried to evade the officer - along with two police constables who had arrived for back-up - by throwing a bakery display at them.
He slipped over on the flying trays and ended up sprawled on the floor but quickly stood back up to continue his robbery attempt.
One of the police constables was armed with a Taser and deployed the weapon after Lewis refused to drop his knife.
He later admitted a charge of attempted robbery and was today sentenced to three years imprisonment at Salisbury Crown Court.
Wiltshire Police have received hundreds of messages of support for the brave PCSO after uploading the video to the force's Facebook page.
Writing on the video post, the force said: "Here is the CCTV footage from a armed robbery in Shrewton where a PCSO had to bravely face the suspect wielding a knife and defend himself using a shopping basket.
"The suspect was disarmed and arrested. Today he was sentenced to three years in prison. Wiltshire Police are very proud of all our officers, doing their part to protect the public."