On 10 November 1509, Pizarro sailed from Spain to the New World with Alonso de Ojeda on an expedition to Urabá. He sailed to Cartagena and joined the fleet of Martín Fernández de Enciso and, in 1513, accompanied Balboa in his crossing of the Isthmus of Panama to the Pacific. The following year, Pedro Arias Dávila became the newly appointed governor of Castilla de Oro and succeeded Balboa. During the next five years, Pizarro became a close associate of Dávila and the governor assigned him a repartimiento of natives and cattle. :93 When Dávila decided to get rid of Balboa out of distrust, he instructed Pizarro to personally arrest him and bring him to stand trial. Balboa was beheaded in January 1519. For his loyalty to Dávila, Pizarro was rewarded with the positions of mayor (Alcalde) and magistrate of the then recently founded Panama City from 1519 to 1523.