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