The pact was negotiated in an effort to stop recent violence sparked by last month 's election results .