What was the ruler of Ancient India called?

It was in fact, a rajah. *glowers at the person who put gobble gobble gobble head*