When natives along the coast threatened his expedition to Panama, Pizarro moved inland and founded the first Spanish settlement in Peru, San Miguel de Piura. Atahualpa, the last Inca king, refused to tolerate a Spanish presence in his lands, but was captured by Pizarro during the Battle of Cajamarca on 16 November 1532.
A ransom for the emperor’s release was demanded and Atahualpa filled a room with gold, but Pizarro charged him with various crimes and executed him on 26 July 1533, overriding his associates who thought he was overstepping his authority.
The same year, Pizarro entered the Inca capital of Cuzco and completed his conquest of Peru. In January 1535, Pizarro founded the city of Lima, a project he considered his greatest achievement. Quarrels between Pizarro and his longtime comrade-in-arms Diego Almagro culminated in the Battle of Las Salinas. Almagro was captured and executed and, in June 1541, his embittered son, Diego de Almagro “el mozo”, assassinated Pizarro in Lima. The conquistador of Peru was laid to rest in the Lima Cathedral.