 He was born in Santiago, the son of José Pérez García and of Ana Josefa Ramirez de Salas y Pavón.Pérez studied law and was admitted to practice in colonial Chile.He was a member of the Government Junta established on April 13, 1813 together with Agustín Eyzaguirre and José Miguel Infante.