Section 1. Be it enacted, &c., That the annual minimum salary of the district attorney in counties of the seventh class shall be as follows: In counties of the seventh class having a population of twenty thousand inhabitants and more but less than twenty-seven thousand, seven hundred and fifty dollars ($750); and in counties of the seventh class having a population of twenty-seven thousand and more, one thousand five hundred dollars ($1,500) to be paid by the county.