Antequera y Castro was born in Panama. He was an oidor (judge) in the Audiencia of Panama before traveling to Spain. He became a knight of the Order of Alcántara. He was public prosecutor before the Audiencia of Charcas (Alto Peru, now Bolivia) in charge of protecting the Indians.
