But, by the time I had reached the top of the stairs, he was out of sight.
But by the time I got upstairs, he was gone.