Earlier this year , China wrote off parts of Iraq 's debts and pledged $ 25 million in reconstruction aid .