Nonbinary gender has been documented in Hindu texts dating from 400 B.C. to 200 A.D. when Hijras were mentioned.