Ramsay MacDonald became the first Labor Prime Minister , but the Labor government fell within months necessitating another general election .
In 1929 , the Conservatives lost the general election , and Ramsay MacDonald became the new Labor prime minister .