A red panda (Ailurus fulgens) It lives in a narrow range extending west to Nepal and east to southwestern China. The evolutionary affinities of this species remain uncertain, various researchers conclude that it is most closely related to Procyonidae (raccoon family), Ursidae (bears), or ursids plus seals, among other possibilities. The Red Panda is no longer believed to be closely related to the Giant Panda (Ailuropoda melanoleuca), although it shares with the Giant Panda a bamboo diet and certain associated morphological peculiarities (bamboo leaves constitute around 80 to 90% of the Red Panda's diet). Except during the mating season, Red Pandas are generally solitary. They are well adapted for climbing and spend much of their time off the ground. At least in China, Red Panda populations declined dramatically in the latter part of the 20th century. The greatest threats to Red Panda populations are habitat loss and fragmentation, poaching, and trade in live animals, although Red Pandas are legally protected in China, India, Bhutan, and Nepal and protected areas with Red Pandas have been established in all these countries.