Waqar Younis has quit as Pakistan coach only a day after Shahid Afridi stepped down as Twenty20 captain.
Pakistan lost three group matches at the World Twenty20 and made an early exit from the tournament in India.
Younis, who was national coach for 19 months, says "unfortunately I couldn't give the result which the nation was expecting".
Younis had three months before his contract with the PCB was due to expire, but he quit after meeting with the Pakistan Cricket Board officials in Lahore on Monday.
He said the PCB treated him "a bit unfairly" and blamed the cricket board for leaking his World Twenty20 tour report which had criticised Afridi and also said he was not consulted over the team selection.