What different peoples ruled India?