In the second year of the Peloponnesian War, Piraeus suffered its first setback when the Athens plague spread to it. In 429, the Spartans ravaged Salamis as part of an abortive attack on the Piraeus. But when the Athenians responded by sending a fleet to investigate, the Spartan alliance forces fled. In 404 BC, the Spartan fleet under Lysander blockaded Piraeus, and subsequently Athens surrendered to the Spartans, putting an end to the Delian League and the war itself. Piraeus was to suffer the same fate as Athens and bear the brunt of the Spartans' rage, as the city's walls and the Long Walls were torn down; the Athenian fleet surrendered to the victors, some of the triremes were burnt, and the "neosoikoi" were pulled down. As a result, the tattered and unfortified port city was not able to compete with prosperous Rhodes, which became the dominant commercial force in the region. In 403 BC, Munichia was seized by Thrasybulus and the exiles from Phyle, in the battle of Munichia, where the Phyleans defeated the Thirty Tyrants of Athens, but in the following battle of Piraeus the exiles were defeated by Spartan forces.