Tess makes Angel swear to look after L-L and marry her and the novel finishes with them both seeing the black flag raised from the hill above the town, holding hands and walking off together:
"Upon the cornice of the tower a tall staff was fixed. Their eves were riveted on it. A few minutes after the hour had struck something moved slowly up the staff, and extended itself upon the breeze. It was a black flag.
`Justice' was done, and the President of the Immortals, in AEschylean phrase, had ended his sport with Tess. And the d'Urberville knights and dames slept on in their tombs unknowing. The two speechless gazers bent themselves down to the earth, as if in prayer, and remained thus a long time, absolutely motionless: the flag continued to wave silently. As soon as they had strength they arose, joined hands again, and went on."