Dionysius, after securing peace with Carthage in 405 BC, had steadily increased his military power and had tightened his grip on Syracuse.
In 398 BC, he attacked and sacked the Phoenician city of Motya despite the Carthaginian relief effort led by Himilco.
[3] The conflict ended in 405 BC when Himilco and Dionysius, leader of the Carthaginian forces and tyrant of Syracuse respectively, concluded a peace treaty.
Some Syracusans tried to stage a coup in 405 BC, but Dionysius had managed to defeat the rebels through speedy action and enemy bungling.
His activities, briefly, were as follows: In 398 BC, Dionysius sent an embassy to Carthage to declare war unless they agreed to give up all the Greek cities under their control.
Before the embassy returned from Carthage, Dionysius let loose his mercenaries on Carthaginians living in Syracusan lands, putting them to the sword and plundering their property.
Sicels, Sikans, and the city of Messene also sent contingents, so by the time Dionysius reached Motya, his army had swelled to 80,000 infantry and 3,000 cavalry.
From there, the Punic navy sailed to Motya the following day and fell on the transports beached near Lilybaeum, destroying all that lay at anchor.
While these dueled with the archers and slingers on board the Carthaginian triremes, taking a heavy toll and preventing Himilco from reaching the beached ships, Dionysius hatched a scheme.
The Carthaginian fleet now facing encirclement, Himilco chose not to fight a two-front battle against superior numbers, and sailed away to Carthage.
Once the mole was completed, Dionysius set forward his siege towers, which were taller than the walls of Motya and equaled the height of the tallest buildings in the city.
However, the Greeks learned to douse the flames with firefighting teams, and the engines finally reached the walls despite Carthaginian efforts.
As the Greek troops advanced, the Phoenicians launched a storm of projectiles (arrows, stones) from the rooftops and houses and took a heavy toll on the attackers.
A fierce hand-to-hand struggle began, the desperate resistance of the Phoenicians (who expected no mercy from the Greeks) taking a heavy toll on the attackers.
One day, Dionysius sent a picked group of mercenaries under a Thurian named Archylus at night with ladders to secure vantage points.
Dionysius had intended to secure as many prisoners as possible for the slave market, but the Greeks vented their frustrations by indiscriminate killing of the population.
He garrisoned the ruins with an army made mostly of Sicels under an officer named Biton, and then marched away to continue the siege of Segesta and Entella.