Rivera was first elected to the Parliament of Catalonia in the 2006 parliamentary election, and remained a member until he stepped down before the 2015 parliamentary election.
Rivera pertama kali terpilih ke Parlemen Catalunya dalam pemilihan parlemen 2006, dan tetap menjadi anggota dewan sampai ia mengundurkan diri sebelum pemilihan parlemen 2015.