according to the custom of the priest's office, his lot was to enter into the temple of the Lord and burn incense.
So, because they only served for a week at the time. In just a few days he left there, Jerusalem, and went to Judea, which is nearby Jerusalem, actually.