It is issued by a higher court to a lower court or tribunal either to transfer a case pending with the latter to itself or to squash the order of the latter in a case on rounds of excess of jurisdiction or lack of jurisdiction or error of law.
It can be issued against judicial, quasi-judicial authorities and administrative authorities (since 1991).

#Two questions on writs in CCE 2022