U.N. and government troops have been trying to subdue various rebel and militia groups in the area in preparation for nationwide elections later this year .