Any city of the first class is hereby authorized and empowered to take land in fee, within or without its corporate limits, by donation, gift, devise, purchase, or appropriation, and to hold, improve and control such land for parks, recreational facilities, and public grounds. The jurisdiction and police power of the mayor and city council of any city that shall acquire any such real estate shall be at once extended over such real estate. The mayor and city council shall have power to enact bylaws, rules, and ordinances for the protection, preservation, and control of any real estate acquired under this section and provide suitable penalties for the violation of any such bylaws, rules, or ordinances.