How did Chandragupta conquer Magadha?

By sending in his spies to open the city gates to his soldiers.
By attacking their borders, and slowly weakening the outer reaches of the city first
Buy uniting with the Greeks, combining there, forces, and attacking from two directions.
By attacking with his elephants, and wrecking the city

Chandragupta Maurya, the founder of the Mauryan Empire, conquered Magadha by attacking their borders and gradually weakening the outer reaches of the city first. He followed a strategy of systematically expanding his territory, capturing key fortresses and regions surrounding Magadha. By slowly encroaching upon Magadha's territories, he weakened their defenses and prepared the ground for a direct attack on the capital city.

It is worth noting that Chandragupta Maurya did ally with the Greeks under the leadership of General Seleucus Nicator, who controlled parts of the northwestern region of the Indian subcontinent. However, their alliance primarily focused on defending against potential external threats rather than jointly attacking Magadha.

While Chandragupta's army did include war elephants, it was not solely reliant on them. The use of elephants in warfare was a common practice in ancient India, and they certainly played a significant role in battles. However, the conquest of Magadha involved a comprehensive military strategy, which included various tactics and not just the use of elephants alone.