LIMA, Peru — His parents were peasant farmers who never learned to read. As a child, he walked hours to school, before becoming a teacher himself. Then, two months ago, he burst onto Peru’s national political scene as an anti-establishment candidate with a captivating call to the ballot box: “No more poor people in a rich country.”
And on Monday night, nearly a month since the second round of the presidential election, officials declared Pedro Castillo, 51, the next president of Peru. In a very close vote, he defeated Keiko Fujimori, the daughter of a right-wing former president and herself a towering symbol of the Peruvian elite.
Mr. Castillo’s victory, however narrow the margin, is the clearest repudiation of the country’s establishment in 30 years. It was also the third straight loss for Ms. Fujimori.
Mr. Castillo, a socialist, will become Peru’s first left-wing president in more than a generation, and its first to…