text: The SNP first won a parliamentary seat at the Motherwell by-election in 1945 , but Dr Robert McIntyre MP lost the seat at the general election three months later .
simplified: The first SNP Member of Parliament was Robert McIntyre , who entered parliament in a by-election for Motherwell in 1945 , but he lost the seat at the general election of that year .