He attacked India in 326 BC, and defeated King Porus, who ruled a region in the Punjab. Afterwards they became allies. India at that time was divided into hundreds of kingdoms. The army refused to cross the Indus and fight the kings on the other side, so Alexander led them out of India.