English PPSC
He wanted to leave——— he stayed until the end.
Explanation
"He wanted to leave, but he stayed until the end." The conjunction "but" expresses the contrast between wanting to leave and staying.
Related facts:
"But" joins two contrasting clauses."So" would show a result; "or" would show a choice — neither fits.
Exam tip: Spot the contrast signal ("wanted to leave" vs "stayed") to pick "but".