Phoenix Wright: Ace Attorney – Trials and Tribulations is a visual novel adventure video game developed by Capcom Production Studio 4 and published by Capcom. It was originally released for the Game Boy Advance in 2004 in Japan, and has since been released for several platforms, including a Nintendo DS version that was released in 2007 in Japan and North America and in 2008 in Europe. It is the third game in the Ace Attorney series, following Phoenix Wright: Ace Attorney (2001) and Justice for All (2002).
The story follows defense attorneys Phoenix Wright and Mia Fey, who defend their clients in five episodes. Among other characters are Phoenix's assistant and Mia's sister Maya, her cousin Pearl, and prosecutor Godot. The gameplay is split into courtroom sections, where the player cross-examines witnesses and tries to discover contradictions in their testimonies, and investigations, where they gather evidence and talk to witnesses.