This is the heart-warming moment the oil rig workers saved a stranded whale shark after noticing its tail had been tied with a fishing rope.
The 17ft long marine creature was seen flapping violently in the water next to the structure in the Gulf of Thailand on October 19.
Drillers on the Chevron platform rushed over to see what had happened and noticed a rope tied around the whale shark's tail.
Fishermen from a nearby trawler are believed to have lassoed the rope onto the creature either to catch it or to drag it out of their net.
The marine animal then made its way towards the oil rig, perhaps as a cry for help knowing that humans there could save it.
Supervisor Worawith Sirisuwan said he recognised the whale shark as he had previously seen it swimming by the rig, around 140 kilometres off the shore of Nakhon Si Thammarat province.
He gathered a team to help the whale shark after he was granted permission by the manager.
They spent 30 minutes freeing the animal.
Footage shows how several members of the rig fought against the wave and the strength of the whale shark to pull it near so they could cut it loose.
Worawith said he was relieved to have saved the whale shark from further suffering.
He said: "The hardest part of this mission was pulling the whale shark close as it was so strong.
We steadied him then cut him loose." "The waves were also so strong, which made it twice as hard to but we were able to do it and could free him eventually." ''The whale sharks always swim by our platform, especially when the storm is coming.
We notice them and know it's a sign the weather is about to change." "When I was told about the whale shark stuck in a rope, the first thought popped up in my head was to help him because the employees here were familiar with him." "Everybody including me was so happy that we could help release him but we have to admit that it was quite hard work." Another worker who was involved in the rescue, Pitak Jiaknguluem, said the whale shark could have been the same fish that was seen earlier in the day near the offshore rig before disappearing.
"It reappeared later with the rope around its trail", he said.