The Borough Act of 1878 allowed any township (or portion thereof) with a land area of no more than 4 sqmi and a population not exceeding 5,000, to establish itself as an independent borough through a petition and referendum process on a self-executing basis.