The family of an Irish soldier who saved a young Adolf Hitler and fought on both sides during World War I has published his memoirs after they were missing for more than 40 years.

The amazing wartime tale of Dubliner Michael Keogh began when he joined the British Army in 1914 and won the George's Cross for bravery before being captured by the Germans in 1916.

While in captivity he was persuaded by members of the Roger Casement Brigade, a group formed to recruit Irish soldiers to fight against the British as a display of Irish republicanism, to join them.

The detailed accounts of Mr Keogh's life, written after his experiences, mysteriously disappeared while he was on his deathbed in James Connolly Memorial Hospital in Blanchardstown in 1964.

According to his son Kevin (84), who lives in Swords, north Co Dublin, a man "dressed as a priest" took them from under his pillow two days before he died. The files were eventually found in the UCD archives and given back to the family in 2004.

The memoirs report a chance encounter with a young Adolf Hitler that changed the course of history.

Shortly after the Great War, while Mr Keogh was staying in Munich to fight against the Communist rulers who had declared a short-lived Bavarian Soviet Republic in April 1919, he recalls how he led a military operation to save the life of the future German tyrant.

He had earlier met Hitler in September 1918 near Ligny on the French Border, where the pair were in the same Bavarian Regiment.

In his memoirs he describes how, as the officer on duty during the anti-Communist revolution, he received an urgent call about a riot involving 200 men and two "political agents", one of them being Hitler, in a nearby gym.

"I ordered out a sergeant and six men and, with fixed bayonets, led them off on the double."

Mr Keogh explained that two political agents, who had been lecturing from a table top, had been dragged to the floor and were being beaten.

"The two on the floor were in danger of being kicked to death. I ordered the guard to fire one round over the heads of the rioters. It stopped the commotion."

The group of soldiers managed to haul out the two injured politicians.

"The crowd around muttered and growled, boiling for blood," he added.

"The fellow with the moustache gave his name promptly: Adolf Hitler."

"They had come to the barracks as political agents for the new National Socialist German Workers' Party."

Irish Independent