The task force sailed on to Euboea, and to the first major target, Eretria. The Eretrians made no attempt to stop the Persians from landing or advancing and thus allowed themselves to be besieged. For six days, the Persians attacked the walls, with losses on both sides; however, on the seventh day two reputable Eretrians opened the gates and betrayed the city to the Persians. The city was razed, and temples and shrines were looted and burned. Furthermore, according to Darius's commands, the Persians enslaved all the remaining townspeople.