After a period of negotiations , the party formed a pact with Republican Left of Catalonia , Initiative for Catalonia Greens and the United and Alternative Left , and governed in Catalonia until 2010 .