A writ issued by a higher court to compel a lower tribunal or government officer to perform mandatory or purely ministerial duties correctly.