 Medrano was secretary of the provincial "junta" of representatives in 1821 and a deputy on two occasions.He served as "fiscal" (state attorney) from 1838 and president of the Chamber of Appeals.He was a friend and ally of Juan Manuel de Rosas.