A dredger has been rescued after it drifted close to the shore near Sully.
The 55-tonne vessel sparked a emergency opepration on Wednesday when it lost power and ended up drifting a quarter of a mile off Hayes Point.
It was at risk of running aground because it was unable to drop anchor due to a hyradulics failure caused by the lack of power.
The Bristol Intercepter pilot was called out by the Coastguard to try and establish a tow, which it could not secure as the line repeatedly parted.
The RNLI's Shannon Class lifeboat from Barry Dock took over and managed to pull the dredger away.
A working tug based at Barry Dock was called out by the lifeboat crew to tow the dredger safely back to port.

The RNLI said both the dredger and the coastline were prevented from "potentially significant" environmental harm.
The rescue operation also marked the first shout for a coxswain for Dun Laoghaire who is providing cover at Barry Dock.
Andrew Sykes said: "This was certainly a first shout to remember. The crew performed brilliantly to secure a line and prevent the risk of an environmental incident."
"I'm pleased to have taken the helm for the first time as coxswain and to have had a successful outcome. It was a great example of teamwork, and I'm proud of how the crew handled it."

Vale Councillor blasts school funding in the county
Bear Field Skate Park set for major upgrade as part of new Placemaking Plans
New apprenticeship courses in construction to be introduced in Wales
Former Penarth Bank could become a cafe
New poll shows majority of Welsh voters lack voting confidence ahead of Senedd Election
Construction hub secured for rail upgrades
Prolific thief banned from Holton Road
Cowbridge: plans for more holiday lodges
Man dies suddenly in Romilly Park
Cash boost for Sully Primary School
Speed limits reduced despite objections
Concern over imported chicken in school meals
A48 closed after three-vehicle collision
Rhys unveils red bench 'in living memory'
Barry: plans lodged for 70-home development
Plans to revamp Heritage Coast centre
Carnival drummers join pirate opera encore