While Pilate recognized Jesus as the King of the Jews during the crucifiction, we realize Jesus as King of Jews and Gentiles because of his resurrection.
John 19:19 Pilate also wrote an inscription and put it on the cross. It read, “Jesus of Nazareth, the King of the Jews.”