Did you mean mandamus?
mandamus
noun
°A prerogative writ in the common law that compels a court or government officer to perform mandatory or purely ministerial duties correctly.