The stars of “Silicon Valley.” (HBO Photo)

“Silicon Valley” wrapped up six seasons on HBO on Sunday night with a series finale called “Exit Event” — and Microsoft co-founder Bill Gates entered for a cameo appearance.

Gates makes a very brief appearance in the episode, seated in what appears to be his offices east of Seattle.

“It’s weird,” he said. “It really seemed like Pied Piper was going to work.”

That was it. But the comedy about the tech industry and the characters in and around it had a lasting impact on Gates, who tweeted Sunday night that he was a big fan.

That GIF is Gates playing with a Hoberman Switch Pitch ball, which showed up in the past on “Silicon Valley” as the Pied Piper characters played a game called “Always Blue.”

Like what you're reading? Subscribe to GeekWire's free newsletters to catch every headline

Job Listings on GeekWork

Find more jobs on GeekWork. Employers, post a job here.