With embattled President Gotabaya Rajapaksa confirming his intention to resign as promised on Wednesday, Sri Lanka's political parties on Monday initiated steps to form an all-party government and subsequently elect a new President on July 20 to prevent the bankrupt nation sliding further into anarchy.