The party won 336,375 votes, almost tripling its previous results, and was awarded 10 seats in the Catalan Parliament. That placed it in the position of kingmaker, with enough seats to form a pro-independence alliance with Together for Yes, which obtained 62 seats. After three months of negotiations in which the CUP rejected the presidency of incumbent Artur Mas, the CUP and Together for Yes reached an agreement by which Carles Puigdemont, mayor of Girona, became president of Catalonia. Nevertheless, while eight CUP MPs voted in favor of Puigdemont's presidency, two abstained to "express their differences" with Together for Yes. As part of this agreement, two CUP MPs are to work closely with Together for Yes in order to ensure a pro-independence majority in the Parliament of Catalonia.