524. Every local corporation may make, amend or repeal by-laws:(1) to aid agriculture and horticulture within the municipality.The local corporation may, if it deems fit, grant the aid above-mentioned by mere resolution;
(2) to aid in the establishment and maintenance of free public libraries, library associations and mechanics’ institutes in the municipality, or in adjoining municipalities;
(3) to establish and maintain poor houses, houses of refuge or other establishments for the refuge and relief of the poor and destitute; to give domiciliary relief to the poor of the municipality; and to aid institutions operating a hospital centre within the meaning of the Act respecting health services and social services (chapter S-4.2) or within the meaning of the Act respecting health services and social services for Cree and Inuit Native persons (chapter S-5) or charitable institutions established in the municipality or elsewhere in Québec;
(4) to aid an agricultural cooperative situated within the county of which such municipal corporation forms part.