Afghanistan 's newly-elected President Hamid Karzai says he plans to abolish private militias , end the power of warlords and establish the rule of law .