Media playback is unsupported on your device Media caption Hiroo Onoda, speaking in 2001: "I've never regretted anything"

A Japanese soldier who refused to surrender after World War Two ended and spent 29 years in the jungle has died aged 91 in Tokyo.

Hiroo Onoda remained in the jungle on Lubang Island near Luzon, in the Philippines, until 1974 because he did not believe that the war had ended.

He was finally persuaded to emerge after his ageing former commanding officer was flown in to see him.

Correspondents say he was greeted as a hero on his return to Japan.

As WW2 neared its end, Mr Onoda, then a lieutenant, became cut off on Lubang as US troops came north.

The young soldier had orders not to surrender - a command he obeyed for nearly three decades.

"Every Japanese soldier was prepared for death, but as an intelligence officer I was ordered to conduct guerrilla warfare and not to die," he told ABC in an interview in 2010.

"I became an officer and I received an order. If I could not carry it out, I would feel shame. I am very competitive," he added.

Image copyright AFP Image caption Mr Onoda refused to surrender until his former commanding officer rescinded his orders

While on Lubang Island, Mr Onoda surveyed military facilities and engaged in sporadic clashes with local residents.

Three other soldiers were with him at the end of the war. One emerged from the jungle in 1950 and the other two died, one in a 1972 clash with local troops.

Mr Onoda ignored several attempts to get him to surrender.

Media playback is unsupported on your device Media caption Archive footage showed Hiroo Onoda returning from the Philippines in 1974

He later said that he dismissed search parties sent to him, and leaflets dropped by Japan, as ploys.

"The leaflets they dropped were filled with mistakes so I judged it was a plot by the Americans," he told ABC.

Survival training

Finally in March 1974 his former commanding officer travelled to the Philippines to rescind his original orders in person.

Mr Onoda saluted the Japanese flag and handed over his Samurai sword while still wearing a tattered army uniform.

The Philippine government granted him a pardon, although many in Lubang never forgave him for the 30 people he killed during his campaign on the island, the BBC's Rupert Wingfield-Hayes reports from Tokyo.

Image copyright AFP Image caption Mr Onoda surrendered to the Philippine president in March 1974

Following his surrender, Mr Onoda ran a ranch in Brazil, and opened a series of survival training schools in Japan.

Mr Onoda was one of the last Japanese soldiers to surrender at the end of World War II.

Private Teruo Nakamura, a soldier from Taiwan who served in the Japanese army, was found growing crops alone on the Indonesian island of Morotai in December 1974.

Mr Nakamura was repatriated to Taiwan where he died in 1979.