<P> He had an early uncredited role as a small - time crook in the 1954 film Forbidden Cargo, starring Jack Warner and Nigel Patrick, and a small part in the horror film Night of the Demon (1957). His early television work included the series The Love of Mike (1960) and supporting Tony Hancock in episodes of his ATV series in 1963 . Wilde also played Detective Superintendent Halcro in a series of two - part thrillers about undercover Scotland Yard officers, The Men from Room Thirteen (BBC, 1959--61). He had minor roles in films such as Life for Ruth (1962), The Bargee (1964), The Jokers (1967) and Carry On Doctor (1967), and on television in Room at the Bottom (1966--67) as Mr Salisbury . His first major television success was in 1970 as refuse depot manager "Bloody Delilah" in the ITV sitcom The Dustbinmen . He showed his sinister side as the mischievous magician Mr Peacock in the children's drama series Ace of Wands between 1970 and 1972 . That year he starred as a murderer in The Uninvited, an episode of the BBC's supernatural thriller series Out of the Unknown . Also in 1971, in the television drama Elizabeth R, Wilde played the efficient, merciless' rackmaster' Richard Topcliffe, who was charged with the torture of prisoners in the Tower of London . He played a character in the 1970s British children's series The Ghosts of Motley Hall, by Richard Carpenter . </P> <P> In 1973, he starred as a different kind of gaoler in the second episode of Seven of One, a series of seven individual stories, all of which starred Ronnie Barker . In the episode, entitled "Prisoner and Escort", Wilde played Mr Barrowclough, one of two prison officers whose job it is to escort Barker's character Fletcher across the moors to his prison (the other was Mister Mackay, played by Fulton Mackay). The episode proved popular and a series was commissioned by the BBC, titled Porridge . Wilde reprised his role as the timid and eager - to - please Barrowclough . Porridge was popular and successful; it ran until 1977, with a film version being made in 1979 . </P> <P> Wilde gained and established another role in 1976, when he took over from Michael Bates as the third member of a trio of old men in the BBC sitcom Last of the Summer Wine . The character, Walter "Foggy" Dewhurst, was a determined ex-army man who planned the group's misadventures with military precision and a painstaking eye for detail . Wilde saw the long - running series gather momentum and continue its success; he stayed with the series for nine years, before leaving in 1985 to work on other projects . Foggy was written out of the series--it was said that he had moved to Bridlington to take over the family egg - painting business--and was replaced by Michael Aldridge as Seymour Utterthwaite until 1990 . </P> <P> When Aldridge left Last of the Summer Wine, Wilde returned as Foggy in 1990, reuniting the series' most popular and enduring line - up . Suffering from pneumonia, he stood down for the first five episodes of the 19th series in case his illness worsened . His temporary absence was covered by Frank Thornton; Wilde himself suggested Thornton as a replacement . The filming of the 1997 Christmas special made to introduce Thornton's character resulted in a scheduling problem that made it impossible for Wilde, who was by then fully fit, to return in that series . </P>

When did foggy leave last of the summer wine
find me the text answering this question