A Dad's Army actor became caught up in a Nazi spy scandal, MI5 files have revealed.
Arnold Ridley, who played Private Godfrey in the BBC TV show, is recorded as having escorted a female friend to an interview with Special Branch concerning a suspected spy in September 1939.
Sylvia Matthews, then 29, believed her former boyfriend Werner Emil Schmidt to be carrying out espionage for the Nazis and wanted to warn authorities that a fake passport she had helped him obtain "might be used in an irregular manner".
"I fell in love with Schmidt and lived with him at 35 Boundary Road, NW8," she told Special Branch in a witness statement that has been released by the National Archives.
"He was deported on April 23 1937 and police escorted him to Newhaven and saw him on to the boat. Schmidt confessed to being a Trotskyist."
Although Schmidt claimed to be a Trotskyist, Ms Matthews believed he was actually a Nazi spy because of him having a secret German passport.
Arnold Ridley won acting fame later in life as Private Godfrey, the elderly platoon medic, in Dad's Army - BBC
In the files, it was noted that she was "accompanied by Mr Arnold Ridley, of the Authors' Club" at her interview. By then, Ridley, who died in 1984 at the age of 88, was already established as a successful playwright.
Schmidt first arrived in Britain in 1933 as a holiday visitor and went on to live with Ms Matthews in a communist commune while working at the headquarters of the Trotskyist British Bolshevik-Leninist organisation in London.
One of her 11 fellow lodgers, described by the authorities as "extremists", was Angus Maxy, who looked very similar to Schmidt.
Ms Matthews said she had followed Schmidt to France in May 1937 after he was deported, and later helped him to obtain and alter Mr Maxy's passport.
"The reason I obtained this passport was so that Schmidt and I could return to England and marry, as Schmidt, having no residential qualification, could not marry in France," she told the British authorities.
Trotsky link to Mexico visit
"Having obtained the passport to come back to England, he then decided to go to Mexico and take me with him. All this time, Schmidt had a German passport and he used this to travel to Mexico.
"I travelled on my own passport. His German passport expired about a month after we arrived there. Schmidt deserted me in Mexico, leaving me stranded, and the reason he deserted me in Mexico was that I insisted on marriage."
Ms Matthews left Mexico for Paris, personally assisted by Leon Trotsky, while Schmidt was said to have headed to New York.
She told Special Branch: "I got back to Paris and discovered the passport given to Schmidt, which he had left behind in Paris, and had been altered, the photograph being one of Schmidt."
Ms Matthews returned to London and went to work as a cook at the Air Raid Precautions (ARP) canteen in Berkeley Square.
In the file, investigators wrote: "Miss Matthews states she feels sure he is Nazi agent and bases that assertion on the fact he could obtain a German passport in Paris at the end of 1937 to travel to Mexico."
Arnold Ridley, centre, with other members of the Dad's Army cast at a memorial service in 1982 for Arthur Lowe, who played Captain Mainwaring - PA Wire
A National Archives spokesman said: "The outcome is unclear. The file contains hints that Schmidt might have returned to the UK after the war, but there is nothing substantial reported in this respect.
"The reference to Arnold Ridley is very brief, and nothing else is known about the context as it applies to him. We can only surmise that he accompanied Sylvia to the police office to lend moral support to her as a friend or acquaintance."
Ridley, who served in both world wars, wrote the play The Ghost Train, which was filmed three times. He became a household name after being cast as Private Godfrey, the gentle platoon medic in Dad's Army.
Try full access to The Telegraph free today. Unlock their award-winning website and essential news app, plus useful tools and expert guides for your money, health and holidays.