Poor Hamilton Burger! He is perhaps the least successful district attorney imaginable, and critics have suggested that he must have been the most incompetent lawyer in history. Burger's cases inevitably involved prosecuting the wrong person, who was defended by Perry Mason, who, in the end, revealed the true criminal through a series of tactics that Burger characterized as courtroom tricks. Once Mason had exposed the true perpetrator, Burger often joined in Mason's motion to the judge to dismiss the charges against Mason's client so that Burger could then charge the actual wrongdoer. A scene from the television series in which Mason consoles Burger after such a dismissal inspired a young Sonia Sotomayor to become a prosecutor.

However, it was not all negative for Hamilton Burger in the TV series. He did defeat Mason twice: in "The Case of the Terrified Typist" (episode 1-38), and in "The Case of the Deadly Verdict" (episode 7-4), a much-publicized episode that begins with Mason's client being sentenced to death.

More Info: en.wikipedia.org