Why is Erie part of PA?

Why is Erie part of PA?

The Erie Triangle is a roughly 300-square-mile (780-square-kilometre) tract of American land that was the subject of several competing colonial-era claims. It was eventually acquired by the U.S. federal government and sold to Pennsylvania so that the state would have access to a freshwater port on Lake Erie.

See also  What creditor does Home Depot use?