According to the minhag (custom) of the kehunah, Zecharyah was chosen by lot to enter the Beis Hamikdash and to offer ketoret (incense). [SHEMOT 30:7,8; DIVREY HAYAMIM ALEF 23:13; DIVREY HAYAMIM BAIS 29:11; TEHILLIM 141:2]