An orca stranded on a New Zealand beach has been rescued by soldiers and charity workers.

The whale was stuck on Marfells Beach until the army, along with rescuers from charity Project Jonah, managed to move the mammal at high tide back into deeper waters.

Amazing footage shows more than a dozen people trying to help the stranded whale.

The whale was first reported more than 24 hours before being refloated.

Rescue workers monitored the whale overnight after an unsuccessful attempt to move it back into the water.

At first light the next day, army personnel came down to the beach to try again.

They helped dig a trench in the sand, about 1m deep and 20m long, and dragged the whale along it and back into the water.

The whale was swimming again by 1.30pm.

"We are thrilled to report that the refloat this afternoon was a success and the orca is now swimming freely in deeper water!!" Project Jonah tweeted.

Animals take shelter from Hurricane Irma at Zoo Miami Show all 8 1 /8 Animals take shelter from Hurricane Irma at Zoo Miami Animals take shelter from Hurricane Irma at Zoo Miami Jennifer Nelson, senior keeper at Zoo Miami, leads a cheetah named Koda to a hurricane resistant structure within the zoo, Saturday, Sept. 9, 2017 in Miami. AP Photo/Wilfredo Lee Animals take shelter from Hurricane Irma at Zoo Miami Ryan Martinez, a trainer at Zoo Miami, places an Eurasion Eagle Owl into a crate AP Photo/Wilfredo Lee Animals take shelter from Hurricane Irma at Zoo Miami Flamingos at Zoo Miami, are shown in a temporary enclosure in a hurricane resistant structure within the zoo, (AP Photo/Wilfredo Lee) Animals take shelter from Hurricane Irma at Zoo Miami Brown pelicans and an American white pelican take refuge in a shelter ahead of the downfall of Hurricane Irma at the zoo in Miami REUTERS/Adrees Latif Animals take shelter from Hurricane Irma at Zoo Miami An African crested porcupine is moved into a shelter ahead of the downfall of Hurricane Irma at the zoo in Miami, Florida, REUTERS/Adrees Latif Animals take shelter from Hurricane Irma at Zoo Miami A macaw parrot looks out of it's cage after being put into a shelter REUTERS/Adrees Latif Animals take shelter from Hurricane Irma at Zoo Miami An African grey parrot is moved into a shelter ahead of the downfall of Hurricane Irma REUTERS/Adrees Latif Animals take shelter from Hurricane Irma at Zoo Miami Cheetahs are photographed in a shelter ahead of the downfall of Hurricane Irma at the zoo in Miami, Florida, REUTERS/Adrees Latif

The New Zealand Army added on Twitter: "Job well done, awesome teamwork by all involved!"

Many social media users congratulated the rescue workers.

It is not clear if the orca has yet found its pod.