A Queens man was arrested for sending a threatening email to NBA Commissioner Adam Silver, police sources said Sunday.

I’m going to “come up there and kill you with my f–king gun,” 27-year-old David Pyant allegedly wrote to Silver in July of last year.

Byant, of South Jamaica, was arrested Friday for the threat and charged with aggravated harassment, police sources said.

It’s unclear why Pyant threatened the NBA chief.

He has thirteen prior arrests and has served time in prison for robbery, authorities said.