Black became a member of parliament for Paisley and Renfrewshire South in the 2015 general election while still a final year undergraduate student at the University of Glasgow.[16] Her defeat of Douglas Alexander, a Labour MP and Shadow Foreign Secretary, has been described as unexpected and an example of a collapse of popularity for the Labour Party in Scotland at the 2015 election.[17]