The charter is designed to pave the way for national elections and help end decades of chaos and war .