candidate: The ten - month investigation by the Warren Commission concluded that Kennedy was assassinated by Lee Harvey Oswald acting alone and that Jack Ruby acted alone when he killed Oswald before he could stand trial .