Complex sentence: Ruth accompanies him and they talk for a while, until Adam walks Ruth home, then he himself goes home and retires to bed.
Split into simpler sentences: Ruth accompanies him and they talk for a while, until Adam walks Ruth home. Then he himself goes home and retires to bed.