 They sought a town charter from the state, which was granted by the legislature on March 3, 1871.Oil City was the name of the unified boroughs.The first Oil City elections were held in April, and the first mayor, William M. Williams, and 12-member city council sworn in on April 11, completing the act of incorporation.