Which of the following is a correct sentence (that is, not a comma splice or run-on sentence)?
Harold realized that the train was late he was standing on the subway platform.
Harold realized that the train was late, he was standing on the subway platform.
Harold realized that the train was late Harold was standing on the subway platform.
Harold realized that the train was late while he was standing on the subway platform.