UK Prime Minister Liz Truss resigned after six weeks in office, making her the shortest-serving PM in the nation's history.