I want to know the answer to the following question:
Who did Labour lose power in the election to?
All the background I'm provided with is that "In the event, the party did lose power in Scotland to a minority Scottish National Party government at the 2007 elections and, shortly after this, Blair resigned as Prime Minister and was replaced by his Chancellor, Gordon Brown.". Is that enough to answer the question?
Answer: yes