The power of the nobles would seem to have been more effectively broken in a war with Athens, in which Megara ultimately lost the island of Salamis (about 570, see SoLoN), for shortly afterwards the constitution was changed to a democracy, and eventually was fixed as an oligarchy of a moderate type.