I once saw a family tree linking him to Dovid HaMelech. The problem with it was that at some point it went through a female (his mother I think). So according to that tree that I saw, all of the Lubavitcher Rebbes were from Dovid Hamelech except him!