Question: What legal drama did the star of No Time for Sergeants go on to star in?

full_context: Document 1: Sergeants 3: Sergeants 3 is a 1962 film directed by John Sturges and featuring Rat Pack icons Frank Sinatra, Dean Martin, Sammy Davis, Jr., Peter Lawford, and Joey Bishop. It was the last film to feature all five members of the Rat Pack due to Sinatra's falling out with Lawford.
Document 2: The Strangers in 7A: The Strangers in 7A is a television movie drama/thriller starring Andy Griffith, Ida Lupino, and Michael Brandon that aired on CBS in November 1972. It was based on the 1971 novel of the same name by Fielden Farrington. The film was the first real dramatic role for Griffith following his eight-year run on "The Andy Griffith Show", and his two unsuccessful series follow-ups ("Headmaster", and "The New Andy Griffith Show"). The film would lead Griffith to star in a series of TV-movies throughout the entire 1970s and most of the 1980s before he re-emerged with another successful series ("Matlock").
Document 3: Andy Taylor (The Andy Griffith Show): Sheriff Andrew "Andy" Jackson Taylor and in earlier episodes as Cousin Andy by Barney Fife is the major character on "The Andy Griffith Show", an American sitcom which aired on CBS, (1960–1968). He also appears in the "Gomer Pyle, U.S.M.C." episode "Opie Joins the Marines", made a cameo appearance in the USMC episode "Gomer Goes Home," five episodes of "Mayberry R.F.D." (1968–1971) and the reunion telemovie "Return to Mayberry" (1986). The character made his initial appearance in an episode of "The Danny Thomas Show" entitled "Danny Meets Andy Griffith." In the CBS special "The Andy Griffith - Don Knotts - Jim Nabors Show" (1965), Andy and Barney are featured in a musical sketch about their friendship and recreate some classic moments between the characters. Andy Griffith, as Sheriff Taylor, also has a brief comedy cameo in "Rowan and Martin at the Movies" (1969), a PSA short subject promoting the purchase of U.S. Savings Bonds. Andy Taylor appeared in all 249 episodes of "The Andy Griffith Show" and was played by comedian and actor Andy Griffith.
Document 4: Andy Griffith: Andy Samuel Griffith (June 1, 1926 – July 3, 2012) was an American actor, television producer, Southern gospel singer, and writer. He was a Tony Award nominee for two roles, and gained prominence in the starring role in director Elia Kazan's film "A Face in the Crowd" (1957) before he became better known for his television roles, playing the lead roles of Andy Taylor in the sitcom "The Andy Griffith Show" (1960–1968) and Ben Matlock in the legal drama "Matlock" (1986–1995).
Document 5: McHale's Navy Joins the Air Force: McHale's Navy Joins the Air Force is a 1965 movie based upon the television 1962–66 sitcom "McHale's Navy". Series supporting players Joe Flynn and Tim Conway are the leads for this sequel to the first movie made in 1964 also named "McHale's Navy". Most of the movie is based on their two characters particularly Ensign Parker. Series star Ernest Borgnine was unavailable due to a scheduling conflict while he appeared in the 1965 movie "The Flight of the Phoenix". However, in a "Cinema Retro" interview, Borgnine said the producer Edward Montagne wanted to make the film cheaply, without him and would not show him the script. Carl Ballantine also doesn't appear in the movie and the PT-73 crew is not seen in large portions of the film. The movie, which also features Ted Bessell and Gavin MacLeod, was directed by series producer Edward Montagne.
Document 6: The Story of G.I. Joe: The Story of G.I. Joe, also credited in prints as "Ernie Pyle's Story of G.I. Joe", is a 1945 American war film directed by William Wellman, starring Burgess Meredith and Robert Mitchum. The film was nominated for four Academy Awards, including Mitchum's only nomination for Best Supporting Actor. This was the film that established him as one of the world's biggest movie stars.
Document 7: Mister Roberts (1984 film): Mister Roberts is a 1984 television film that was originally broadcast live March 19, 1984 on NBC and adapted from the play by Thomas Heggen and Joshua Logan, based on Heggen's novel, and starring Robert Hays as Doug Roberts and Charles Durning as the captain.
Document 8: Jim Nabors: James Thurston Nabors (born June 12, 1930) is a retired American actor, singer, and comedian. Born and raised in Sylacauga, Alabama, Nabors moved to southern California because of his asthma. While working at a Santa Monica nightclub, The Horn, he was discovered by Andy Griffith and later joined "The Andy Griffith Show," playing Gomer Pyle. Nabors, Betty Lynn, Elinor Donahue, and Ron Howard are the last surviving regular cast members from that series. The character proved popular, and Nabors was given his own spin-off show, "Gomer Pyle, U.S.M.C.."
Document 9: Andy Griffith: Andy Samuel Griffith (June 1, 1926 – July 3, 2012) was an American actor, television producer, Southern gospel singer, and writer. He was a Tony Award nominee for two roles, and gained prominence in the starring role in director Elia Kazan's film "A Face in the Crowd" (1957) before he became better known for his television roles, playing the lead roles of Andy Taylor in the sitcom "The Andy Griffith Show" (1960–1968) and Ben Matlock in the legal drama "Matlock" (1986–1995).
Document 10: No Time for Sergeants (1958 film): No Time for Sergeants is a 1958 American comedy film directed by Mervyn LeRoy starring Andy Griffith and featuring Myron McCormick, Don Knotts and most of the original Broadway cast. Warner Bros. contract player Nick Adams joined the cast as Stockdale's fellow military draftee Benjamin B. Whitledge, as did Murray Hamilton as Irving S. Blanchard. The film is based on a play inspired by the original novel.
Document 11: Emmett Forrest: William Emmett Forrest, Jr. (September 3, 1927 – January 12, 2013) was an American pop culture collector, museum founder, and longtime friend of actor Andy Griffith. Forrest was an extensive collector of memorabilia spanning Griffith's career. He persuaded Andy Griffith to donate set pieces and other items from the "Andy Griffith Show". Forrest used his collection to found the Andy Griffith Museum in Mount Airy, North Carolina, which opened to the public on September 26, 2009.
Document 12: Me and the Colonel: Me and the Colonel is a 1958 film based on the play "Jacobowsky und der Oberst" by Franz Werfel. It was directed by Peter Glenville and stars Danny Kaye, Curt Jürgens and Nicole Maurey.
Document 13: The Andy Griffith Show: The Andy Griffith Show is an American situation comedy which aired on CBS from October 3, 1960, to September 6, 1971, with a total of 327 half-hour episodes spanning over 11 seasons, first in black and white and then in color, which partially originated from an episode of "The Danny Thomas Show". It originally starred Andy Griffith in the role of Andy Taylor, the widowed sheriff of the fictional small community of Mayberry, North Carolina. Other major characters include Andy's inept but well-meaning deputy, who is also his cousin, Barney Fife (Don Knotts); Andy's spinster aunt and housekeeper, "Aunt" Bee Taylor (Frances Bavier), and Andy's precocious young son, Opie (Ron Howard). Eccentric townspeople and temperamental girlfriends complete the cast. Regarding the tone of the show, Griffith said that despite a contemporary setting, the show evoked nostalgia, stating in a "Today Show" interview: "Well, though we never said it, and though it was shot in the '60s, it had a feeling of the '30s. It was, when we were doing it, of a time gone by."
Document 14: Sgt. Bilko: Sgt. Bilko is a 1996 American comedy film directed by Jonathan Lynn and written by Andy Breckman. It is an adaptation of the iconic 1950s television series "The Phil Silvers Show", often informally called "Sgt. Bilko", or simply "Bilko", and stars Steve Martin, Dan Aykroyd, and Phil Hartman.
Document 15: Carry On Sergeant: Carry On Sergeant is a 1958 comedy film about National Service starring William Hartnell, Bob Monkhouse and Eric Barker; it is the first in the series of "Carry On" films, with 31 entries. The film was based on a play "The Bull Boys" by R. F. Delderfield and was adapted into a script by Norman Hudis with John Antrobus contributing additional material and replacing the conscripted ballet dancers of the novel into a married couple. It was directed by Gerald Thomas and produced by Peter Rogers, a partnership which would last until 1978. Actors in this film, who went on to be part of the regular team in the series, were Kenneth Williams, Charles Hawtrey, Hattie Jacques, Kenneth Connor and Terry Scott. The first public screening was on 1 August 1958 at Screen One, in London and it went on general cinema release across British cinemas on 15 August 1958. The soundtrack music was played by the Band of the Coldstream Guards, conducted by the composer.
ground_truth: Matlock