Writ meaning in legal world is an order by a higher court to the lower court or courts directing the…