John 3:1

There was a man of the Pharisees, named Nicodemus, a ruler of the Jews:

Cross-reference

In John 7:47-49, the Pharisees claim no ruler believed, but Nicodemus (a ruler) is a secret believer, creating a contrast with this statement.

John 7:50 Historical context

John 7:50 explicitly recalls Nicodemus's earlier visit to Jesus, showing him now defending Jesus before the Sanhedrin.

John 19:39 Parallel

John 19:39 again mentions Nicodemus's night visit, now showing him bringing expensive spices for Jesus' burial.