Now it was the day of Preparation, and the next day was to be a special Sabbath. Because the Jewish leaders did not want the bodies left on the crosses during the Sabbath, they asked Pilate to have the legs broken and the bodies taken down.
References for John 19:31
The soldiers therefore came and broke the legs of the first man who had been crucified with Jesus, and then those of the other.
References for John 19:32
But when they came to Jesus and found that he was already dead, they did not break his legs.
Instead, one of the soldiers pierced Jesus’ side with a spear, bringing a sudden flow of blood and water.
References for John 19:34