In Tang monasteries the three officers were the
上座, a senior monk respected for age and learning, the
寺主, who ran the buildings and property, and the
维那, who kept discipline. In 1113 the Song court stopped monks and nuns from using the titles
寺主 and
院主, and the head of a temple has generally been called the
住持 since.