Miles Edgeworth is Phoenix Wright's long time friend and first rival in the court room. He is playable in Phoenix Wright: Trials and Tribulations and is the main protagonist of Ace Attorney Investigations: Miles Edgeworth and Gyakuten Kenji 2. As a child, Edgeworth aspired to become a defense attorney, following in his father Gregory Edgeworth's footsteps. However, upon witnessing his father's death and watching in horror as the suspected murderer was let free, he gained a hatred for criminals and began studying to be a prosecutor, learning tactics from his mentor Manfred von Karma to always get a "guilty" verdict. This later earned him the name "demon prosecutor". Miles has not lost a case he was involved with until his first trial against Phoenix, after which he felt a need to defeat Phoenix. After Phoenix successfully defended Miles in a murder accusation from his former mentor, Miles recognized that prosecutors and defense attorneys need to be partners in discovering the truth. He disappeared for a long period of time on a journey of self-discovery and returned to help Phoenix on some of his more difficult cases, including stepping in as the defense attorney when Phoenix was ill and bedridden. He is usually seen wearing a vintage-style maroon suit with a black vest, white shirt and ruffled ascot. A running gag is that Edgeworth is usually unable to get his witnesses to state their names and occupations. Also, in both the manga and the games, it is implied that he is a closet Steel Samurai fan. He also has a phobia of earthquakes and elevators, due to the incident in which his father was murdered (DL-6).
Edgeworth's starring appearance in Ace Attorney Investigations takes place a month after the final case of Phoenix Wright: Ace Attorney Trials & Tribulations. On the way home from a month-long voyage to the fictional nation of Borginia, he finds himself caught up in a murder of a man on his plane. After solving the case and discovering the man's true identity, he is called upon by an old friend to deliver the ransom at an amusement park in his son's kidnapping. This unfortunately leads to yet another murder which Edgeworth is tasked to solve (despite difficulties dealing with Interpol). During this case, he encounters a female thief named Kay Faraday whom he actually met during his very first case seven years before. Once the case is solved, he returns to his office only to find yet another murder (and a theft) waiting for him. The cases all tie together as a series of events that concern a secret and powerful criminal organization (Yatagarasu), which all comes to a head during the final case of the game.
Miles' starring debut was originally going to star Ema Skye, another character from the series, but due to fan response, they went with Miles Edgeworth, a more popular character. Miles is voiced by Ace Attorney character designer Tatsurō Iwamoto in the video games and by Eiji Takemoto in Tokyo Game Show promotions for Phoenix Wright: Ace Attorney Trials and Tribulations. On stage, he is portrayed by Hikaru Nanaho in the first musical and by Hiro Yūmi in the second musical.
Miles makes a cameo appearance in She-Hulk's ending for Marvel vs. Capcom 3: Fate of Two Worlds as one of the attorneys working on "Jen's Justice", a courtroom reality series hosted by She-Hulk.