Mandamus is a proceeding to compel some inferior court, tribunal, board, or some corporation or person to perform a specified duty, which duty results from the office, trust, or official station of the party to whom the order is directed, or from operation of law.
K.S.A. 60-801