If your spouse or partner dies, you will generally be assigned to tax class III in the year of death and in the following year.