Certiorari against city ordinance

For a writ of certiorari to issue, the following requisites must concur: (1) it must be directed against a tribunal, board, or officer exercising judicial or quasi-judicial functions; (2) the tribunal, board, or officer must have acted without or in excess of jurisdiction or with grave abuse of discretion amounting to lack or excess of jurisdiction; and (3) there is no appeal or any plain, speedy, and adequate remedy in the ordinary course of law. The enactment by a city coucil of ordinances is done in the exercise of its legislative, not judicial or quasi-judicial, function. Under Republic Act (R.A.) No. 7160, or the Local Government Code of 1991 (LGC), local legislative power shall be exercised by the Sangguniang Panlungsod for the city.[15] Said law likewise is specific in providing that the power to impose a tax, fee, or charge, or to generate revenue shall be exercised by the sanggunian of the local government unit concerned through an appropriate ordinance. (G.R. No. 210551)