x x x x An officer of the law is any person who by direct provision of the law or by election or by appointment of competent authority, is charged with the maintenance of public order and the protection and security of life and property, such as barangay captain, barangay chairman, barangay councilman, barangay leader, officer, or member of Barangay Community Brigades, barangay policeman, PNP poli