<P> In the seventeenth season episode "Intersecting Lives", Barba goes after Riker's correctional officer Gary Munson (Brad Garrett), who is raping female inmates . As Barba brings charges against him, the entire prison guard system turns against him . Barba is ominously threatened in the courthouse elevator and on the steps outside following a press conference . In the following episode, "Heartfelt Passages", Barba reveals he had been receiving threats even before the Munson case; Detectives Dominick Carisi, Jr . (Peter Scanavino) and Amanda Rollins (Kelli Giddish) proceed to help him identify them and assign him a security detail . </P> <P> In the season 18 episode "Know It All," Barba suddenly recuses himself from the investigation of rape / murder suspect David Willard (Chris Diamantopoulos), for whom Benson has requested a search warrant, and does not tell her the reason for his choice . Benson gets the warrant from another ADA, and a search of Willard's office turns up a disposable cell phone . One of its received calls is from a young girl, who proves to have a connection to Barba; her mother, a heroin addict, had been a witness in one of his cases years earlier . He had paid the mother to secure her testimony, knowing she would use the money to buy drugs, and she later died of an overdose . Barba started sending money to the daughter every month, and realizes that Willard must have hacked into his bank account in order to use this information against him . The episode ends with Barba uncertain about his future in the DA's office; in the next episode, "The Newsroom," he is back in the courtroom, telling Benson that he has just finished serving a suspension . </P> <P> Barba leaves the DA's office midway through the nineteenth season, in the episode "The Undiscovered Country ." His regrets over having left his father on life support in a diabetic coma lead him to disconnect the life support system for a comatose infant whose parents have been feuding over whether to do so . DA Jack McCoy (Sam Waterston) insists on prosecuting him for murder . Although he is acquitted, Barba decides that it is time to move on, after 21 years as a prosecutor . </P> <P>--Raúl Esparza on Barba's character . </P>

What happened to the character barba on law and order svu
find me the text answering this question