Following the successful campaign of the Battle of Cajamarca in 1532, Francisco Pizarro designated Xerez as his personal secretary and offered him a significant amount of gold the Inca Emperor Atahualpa had paid as a ransom. Xerez wrote with all detail about the events that preceded the Spanish conquest and the first encounter Pizarro had with Atahualpa in Cajamarca. During this time Xerez fractured one of his legs and returned to Seville, where his narrations about the conquest of Peru were published as the "Verdadera Relación de la conquista del Perú" in June 1534.