In ancient times, trade between the Indian subcontinent and Greece flourished with silk, spices and gold being traded. The Greeks invaded South Asia several times, starting with the conquest of Alexander the Great and later with the Indo-Greek Kingdom.
Legend of the God Bacchus in Ancient India
A legendary account states that when the Greek God Bacchus/Dionysus grew up, he discovered the culture of the vine and the mode of extracting its precious juice, being the first to do so; but Hera struck him with madness, and drove him forth a wanderer through various parts of the earth. In Phrygia the goddess Cybele, better known to the Greeks as Rhea, cured him and taught him her religious rites, and he set out on a progress through Asia teaching the people the cultivation of the vine. The most famous part of his wanderings is his expedition to the Indian subcontinent, which is said to have lasted several years. According to a legend, when Alexander the Great reached a city called Nysa near the Indus river, the locals said that their city was founded by Dionysus in the distant past and their city was dedicated to the god Dionysus. These travels took something of the form of military conquests; according to Diodorus Siculus he conquered the whole world except for Britain and Ethiopia. Returning in triumph (he was considered the founder of the triumphal procession) he undertook to introduce his worship into Greece, but was opposed by some princes who dreaded its introduction on account of the disorders and madness it brought with it (e.g. Pentheus or Lycurgus).
Conquests of Alexander the Great (327–326 BC)
In 327 BC Alexander the Great began his foray into Punjab. King Ambhi, ruler of Taxila, surrendered the city to Alexander. Many people had fled to a high fortress/rock called Aornos. Alexander took Aornos by storm after a successful siege. Alexander fought an epic battle against the ancient Indian monarch Porus in the Battle of Hydaspes (326).
According to Plutarch, at the time of Alexander's Battle of the Hydaspes River, Magadha's army further east numbered 200,000 infantry, 80,000 cavalry, 8,000 chariots, and 6,000 war elephants, which was discouraging for Alexander's men and stayed their further progress into the Indian subcontinent:
As for the Macedonians, however, their struggle with Porus blunted their courage and stayed their further advance into India. For having had all they could do to repulse an enemy who mustered only twenty thousand infantry and two thousand horse, they violently opposed Alexander when he insisted on crossing the river Ganges also, the width of which, as they learned, was •thirty-two furlongs, its depth •a hundred fathoms, while its banks on the further side were covered with multitudes of men-at‑arms and horsemen and elephants. For they were told that the kings of the Ganderites and Praesii were awaiting them with eighty thousand horsemen, two hundred thousand footmen, eight thousand chariots, and six thousand fighting elephants. And there was no boasting in these reports. For Androcottus, who reigned there not long afterwards, made a present to Seleucus of five hundred elephants, and with an army of six hundred thousand men overran and subdued all India.
--Plutarch, Parallel Lives, "Life of Alexander"
Exhausted and frightened by the prospect of facing another giant Indian army at the Ganges River, his army mutinied at the Hyphasis (modern Beas), refusing to march further east. Alexander, after meeting his officer Coenus, was convinced that it was better to return.
Alexander was forced to turn south, conquering his way down the Indus to the Arabian Sea. He sent much of his army to Carmania (modern southern Iran) with his general Craterus, and commissioned a fleet to explore the Persian Gulf shore under his admiral Nearchus, while he led the rest of his forces back to Persia by the southern route through Gedrosia (modern Makran in southern Pakistan).
Alexander left behind Greek forces which established themselves in the city of Taxila, now in Pakistan. Several generals, such as Eudemus and Peithon governed the newly established province until around 316 BC. One of them, Sophytes (305–294 BC), was an independent Indian prince in the Punjab.
Seleucid (305 BC)
Following Alexander's death, Seleucus I Nicator, founder of the Seleucid dynasty and former Diadochi, gained control over Mesopotamia and the eastern satraps of the former Macedonian Empire. Seleucus unsuccessfully tried to campaign in India by invading what is now Punjab in northern India and Pakistan in 305 BC.
Meanwhile, in India, Chandragupta Maurya, the founder of the Mauryan Empire with the help of Chanakya his guru and political advisor, rose to power by overthrowing the Nanda Empire in Pataliputra. His next course of action was to lead his armies into the Indus to battle with the Seleucid Empire and annex the satraps. The Seleucid-Mauryan War waged on for over two years, resulting in significant territorial and political change in the region. To resolve the conflict both parties finally settled upon a marriage alliance. Chandragupta annexed the Greek satraps, while also gaining Seleucid's daughter in marriage. In exchange Basileus Seleucus received 500 prized war elephant from the Indian Emperor, an asset which was used to decisively win the Battle of Ipsus.
Seleucus also sent an ambassador named Megasthenes to Chandragupta's court, who repeatedly visited Chandragupta's capital of Pataliputra (modern Patna in Bihar state). Megasthenes wrote detailed descriptions of India and Chandragupta's reign.
Continued diplomatic exchanges and good relations between the Seleucids and the Mauryan emperors are then documented throughout the duration of the Mauryan empire.
Indo-Greek rule (180 BC-10 AD)
In 180 BC, the Indo-Greeks, invaded parts of northwest and northern India and ruled in the Punjab region. They are an extension of the Greco-Bactrian dynasty of Greek kings (the Euthydemids) located in neighbouring Bactria.
The invasion of northern India followed the destruction of the Mauryan dynasty by the general Pushyamitra Shunga, who then founded the new Indian Shunga dynasty (185 BC-78 BC). The Indo-Greek king Menander may have campaigned as far as the capital Pataliputra in eastern India (today Patna): "Those who came after Alexander went to the Ganges and Pataliputra" (Strabo, XV.698 ).
The Indo-Greeks ruled various parts of north-western South Asia until the end of the 1st century BC, when they were conquered by the Scythians and Kushans.
Buddhism flourished under the Indo-Greeks, leading to the Greco-Buddhist cultural syncretism. The arts of the Indian sub-continent were also quite affected by Hellenistic art during and after these interactions.
Halkias, Georgios. “When the Greeks Converted the Buddha: Asymmetrical Transfers of Knowledge in Indo-Greek Cultures.” In Religions and Trade: Religious Formation, Transformation and Cross-Cultural Exchange between East and West, ed. Volker Rabens. Leiden: Brill, 2013: 65-115.
________. “The Self-immolation of Kalanos and other Luminous Encounters among Greeks and Indian Buddhists in the Hellenistic world.” Journal of the Oxford Centre for Buddhist Studies, Vol. VIII, 2015: 163-186.
- Bull, 255
- Arrian, Anabasis, 5.1.1-2.2
- Bull, 253
- The Encyclopedia of Military History, R Dupuy and E Dupuy p76
- "...those who, after Alexander, advanced beyond the Hypanis to the Ganges and Palibothra." Strabo, XV.27 
- Halkias 2014 and 2015; https://www.academia.edu/5974580/When_the_Greeks_Converted_the_Buddha_Asymmetrical_Transfers_of_Knowledge_in_Indo-Greek_Cultures & https://www.academia.edu/12679460/The_Self-immolation_of_Kalanos_and_other_Luminous_Encounters_Among_Greeks_and_Indian_Buddhists_in_the_Hellenistic_World