The remedy is by certiorari. Easton v. State, 39 Ala. 551, 87 Am.Dec. 49; Ex parte Dickens, 162 Ala. 272, 50 So. 218; Alabama Power Co. v. Adams, 191 Ala. 54, 67 So. 838, Ann.Cas. 1917C, 878; Board of Revenue of Covington County v. Merrill, 193 Ala. 521, 542, 68 So. 971; Preskitt v. Chandler, 214 Ala. 278, 107 So. 750; Bankston v. Lakeman, 219 Ala. 508, 122 So. 819; Pope v. State, 229 Ala. 643, 159 So. 51. The writ of mandamus is an extraordinary legal remedy grantable only when petitioner shows a clear, specific legal right for the enforcement of which there is no other adequate remedy.