LIMA, Peru — A former president of Peru died on Wednesday after shooting himself in the head when the authorities tried to arrest him on corruption charges.
A personal secretary for the former president, Alan García, 69, confirmed his death.
The secretary, Ricardo Pineda, also told a Peruvian radio station that as the authorities arrived at the former president’s home with an arrest warrant, he locked himself into his bedroom, shot himself and was rushed to a hospital.
The charges relate to Odebrecht, a Brazilian construction giant, which last year admitted to $800 million in payoffs in exchange for lucrative contracts for projects including roads, dams and bridges. That revelation set off a flurry of investigations by prosecutors and lawmakers, principally in Latin America, as they sought to learn who was on the receiving end of the payments.
The investigations have targeted several of Peru’s former presidents.
Last week, prosecutors detained Pedro Pablo Kuczynski, the predecessor to the country’s current president, in an investigation related to the case. They have asked that he be held up to three years as they gather evidence.
Alejandro Toledo, who was president in the early 2000s, is wanted for extradition from the United States; Ollanta Humala, Mr. García’s successor, was detained as well, before being released.
Mr. García served as president from 1985 to 1990, and then another term from 2006 to 2011, presiding over an economic collapse in his first term and an expansion in his second.
His second term became the point of investigation for prosecutors, who began to examine whether campaign contributions for Mr. García’s American Popular Revolutionary Alliance party were tied to the Odebrecht scandal.
After the authorities issued a travel ban for Mr. García, he fled to the Uruguayan Embassy in Lima to request asylum. Uruguay rejected the request.
On Wednesday morning, the Peruvian authorities ordered an initial 10-day detention of Mr. García on accusations of money laundering, influence peddling and collusion. The measure allows officials to hold suspects before charges are formally presented.