Yes, you will have to pay zakah of the previous years as well. It is wajib to pay zakah of each year. If the zakah of the previous years was not paid, then it should be given now.
Allah (Subhana Wa Ta’ala) knows Best
Darul Uloom Deoband