By the time he had gotten to the bottom of the mountain the sky had become black with rain clouds, wind, and finally heavy showers.
(he; had gotten; T:the time) (the sky; had become; black; T:By the time)
he the sky
had gotten had become
T:the time
black T:By the time