Hindu philosophy has the concept of a third sex or third gender (tritiya-prakriti - literally, "third nature").
In 2008, the state of Tamil Nadu recognised the "Third Gender"; with its civil supplies department giving in the ration card a provision for a new sex column as 'T', distinct from the usual 'M' and 'F' for males and females respectively.