King Charles III of the United Kingdom on Friday accepted Rishi Sunak's resignation as the country's prime minister, the Buckingham Palace announced.