Paraguayan President Santiago Peña resigned on Thursday as the collapse of digital lender Ueno triggered a political crisis, leaving millions of customers unable to access their accounts and prompting lawmakers to advance impeachment proceedings against him.

Peña stepped down hours before lawmakers moved forward with impeachment proceedings, after losing support within his own conservative Colorado Party. He said in a statement posted on social media that he will appear before the Senate proceedings to defend himself.