The quaestor sacri palatii (Greek: κοιαίστωρ/κυαίστωρ τοῦ ἱεροῦ παλατίου, usually simply ὁ κοιαίστωρ/κυαίστωρ; English: Quaestor of the Sacred Palace) was the senior legal authority in the late Roman Empire and early Byzantium, responsible for drafting laws. In the later Byzantine Empire, the office of the quaestor was altered and it became a senior judicial official for the imperial capital, Constantinople. The post survived until the 14th century, albeit only as an honorary title.