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."

Post Office Seeks New Operator in Dinas Powys as Village Faces Loss of Its Last Branch
Gardening team praised after helping police clear fallen tree near St Brides Major
Specsavers calls on children in Barry to design Wales Deaf Rugby World Cup shirts
Whitmore High Named One of UK’s Best Workplaces for Development
Steel Signing Marks Major Milestone in St Richard Gwyn School Redevelopment
Two Rescues in Record Heat as Volunteer Teams Respond to Afternoon Emergencies
Police find evidence of a large-scale cannabis cultivation at Riverside Place property fire
Network Rail confirm closure of Brookside level crossing in Dinas Powys
Police given powers to ask people to leave Comeston Lakes Country Park
Planned children’s role play centre could be given the go-ahead by Vale Council
Marie Curie Garden Fayre deemed huge success
Council seeks views on Future of Colcot Sports Centre and Buttrills Playing Fields
First Minister quizzed on further devolution, budget decisions, and misinformation in FMQs
Extreme heat leads to changes to services and closures
Severe Heat Warning Set to Disrupt Rail Travel Across South Wales This Week
Communities asked to support older people across Wales during severe heat warning
Caribbean Community Wales Brings Wales‑Wide Launch to Barry This Weekend
Community Award winner calls for sanitary bins in men’s toilets after living with prostate‑cancer‑related incontinence
Cardiff Airport Backs Holiday Safety Campaign Honouring Rhoose Teenager Tom Channon