A local official in the Democratic Republic of Congo says the military has regained some territory from M23 rebels.