There have been forty-four women and two men who have been married to British prime ministers in office. There have also been four bachelor and nine widower prime ministers; the last bachelor was Edward Heath (1970–1974) and the last widower was Ramsay MacDonald (1924, 1929–1935). 