The purchase of a city rival marks the company’s third acquisition in six years.