From 2002, Pereira was Chief of Staff to the then Presidents Xanana Gusmão and José Ramos-Horta, respectively, until 8 August 2007, when he was sworn in as Secretary of State of the Council of Ministers and government spokesman.