Consider the following sentence:
The jury, which had been deliberating for hours, have reached their verdict, causing a stir in the courtroom.
Which of the following options corrects the error in the sentence?