Torres announced his resignation in a letter to President Pedro Castillo on Wednesday, attributing his decision to “personal reasons” and wishing his “friend” Castillo success.
“I am retiring from this position after having served alongside you, our country (and) particularly the discouraged and forgotten,” said Torres’ letter, which he posted on Twitter.
By Peruvian law, Castillo must accept or reject his resignation.
He accepted the post in February, after former Prime Minister Héctor Valer resigned amid accusations of domestic violence against him.
Valer, who had been in office for just four days, denied the accusations.
During a speech before Congress celebrating Peru’s National Day on July 28, Castillo admitted he had made mistakes and said he was willing to cooperate with any investigation.
“I appear in court in order to clarify the charges against me, with respect to due process and not media justice,” Castillo said.
Under Peru’s constitution, a sitting president can only be impeached on four counts: treason; prevent presidential, regional or local elections; dissolve Congress; or block the work of the National Elections Jury or other electoral bodies.