Junqueras contested the 2012 regional election as a Republican Left of Catalonia–Catalonia Yes (ERC–CatSí) electoral alliance candidate in the Province of Barcelona and was elected to the Parliament of Catalonia. In December 2012 the ERC and CiU reached an agreement whereby the ERC would support Artur Mas' minority government. As part of the agreement an independence referendum would be held in 2014. Despite the agreement, and protests form the Socialists and Greens, Junqueras was appointed Leader of the Opposition in the Catalan Parliament in January 2013.