Starfield:Breach of Contract

Helgi Hauksson Testifying
If you convince Helgi to testify, you will have to find a character witness, which you may have already seen prompts for when tracking him down. The "best" choice is the doctor. After this, the quest concludes with a final conversation with the lawyer, and you are left with quest complete while you await news of the trial's outcome.

If you fail to convince Helgi to testify, he will instead say that he'll refer some colleagues to review the information and testify independently. The case still moves forward, but Ellie Yankton's expectations are lower for the outcome, saying she thinks they will clear his name but possibly not succeed in incriminating the mining corporation.

Some time later, Barrett will receive news. Regardless of the path taken above, Ervin's record is expunged, on a technicality. Hephaestus receives no punishment, other than paying out a settlement. Barrett receives the settlement and divides it between you, him, Ellie, and expenses. He also sells the apartment. Ellie continues to work looking for similar cases against the corp. You receive 7100 credits.