The Soviet-era Mi-8 helicopter from Turkmenistan had been chartered by the Red Cross for the earthquake relief effort in Pakistan for the past three months and was returning home after completing its mission .