In the 2007 elections, the Party lost five seats in Holyrood. However, in the council elections, taking place under the new Single Transferable Vote voting system, they gained three Councillors on the City of Edinburgh Council and five Councillors on Glasgow City Council. On 11 May, the Greens signed an agreement with the Scottish National Party, which meant that the Greens voted for Alex Salmond as First Minister and supported his initial Ministerial appointments. In return, the Nationalists backed a climate change bill as an early measure and promised to legislate against ship-to-ship oil transfers in the Firth of Forth. The SNP also agreed to nominate Patrick Harvie, one of the Green MSPs, to convene one of the Holyrood committees: Transport, Infrastructure and Climate Change.