The primeminister/president has resigned.