Writ (i.e Order) of Mandamus is usually issued to mandate a public authority to perform its statutory or the functions tied to its establishment. On the alternative, the great writ means the habeas corpus writ issued to order the release of a body or person unlawfully detained or imprisoned to stand judgement