A United Nations spokesman has condemned the use of violence in the run-up to the Democratic Republic of Congo 's elections .