Sheikh Sharif still had to cope with a significant, albeit divided armed opposition, mostly organised around two groups, after his election