United Nations Secretary-General Kofi Annan congratulated Vojislav Kostunica on his appointment as Serbian prime minister and wished him successful term of office.