The country's main political divergence is between the largely ethnically based political parties representing the country's ethnic Macedonian majority and Albanian minority. The issue of the power balance between the two communities led to a brief war in 2001, following which a power-sharing agreement was reached. In August 2004, parliament passed legislation redrawing local boundaries and giving greater local autonomy to ethnic Albanians in areas where they predominate.