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

Plans are under consideration to build over 200 houses in a sleepy Welsh village
Sanitary disposal bins introduced in men's public toilets following "Bins for Boys" campaign
Officers called to Dinas Powys Woods after young person enters the river
Vale Council signs off placemaking plan for Barry
Plans filed to use Blackweir Fields for a series of live events this summer
Plans filled for controversial housing development in Cowbridge
Cardiff Council pledges to work with new Welsh Government to tackle trouble-plagued hospital
RNLI issues Sully Island safety advice after first call out of the year to the Island
Morio Lounge on course to open at Nell's Point in May
Vale Council appoints specialist contractors to carry out road improvements
Three men jailed for their roles running a drugs line which supplied cocaine in Barry
Police appeal for witnesses after fatal Penarth Road collision
New Beach and country park facilities opened following major investement
RNLI centre at Barry Island welcomes lifeguards back to Whitmore Bay
Severn tidal lagoons progress