You may need to make explicit that he first entered Jerusalem, where the temple was located. Alternate translation: "Jesus entered Jerusalem and then went into the temple courtyard"
Only priests were allowed to enter the temple building. Here the word "temple" refers to the courtyard at the temple. Alternate translation: "went into the temple courtyard"