Miles Edgeworth, is the Los Angeles Chief Prosecutor and a childhood friend of Phoenix Wright. During his first four years as a prosecutor, he had a perfect win record owing to his willingness to do anything to get a guilty verdict for the defendant. This all ended when Wright defeated him in court. Later, Edgeworth found himself on trial for murder, with his "enemy" now being his defense. After prosecuting in one more case, Edgeworth left the prosecutor's office to find out what being a prosecutor really meant, coming to the conclusion that prosecutors were seekers of the truth, and that winning a guilty verdict wasn't all that mattered. He later returned and, by the time of the Mask☆DeMasque trials, had become known as the top prosecutor in America. He also traveled abroad to study international law, prosecuting in five other countries. He was also instrumental in finding the leader of a notorious international smuggling ring and bringing him to court.
He is the main protagonist and player character in Ace Attorney Investigations: Miles Edgeworth, and Gyakuten Kenji 2/Prosecutor's Path.