Some ethnic Albanians , angered by perceived political and economic inequities , launched an insurgency in 2001 that eventually won the support of the majority of Macedonia 's Albanian population and led to the internationally-brokered Ohrid Framework Agreement , which ended the fighting by establishing a set of new laws enhancing the rights of minorities .