In 1682, an error in surveying placed Philadelphia inside the lands granted to Maryland. The two charters had overlapped. The Calvert family in Maryland demanded Philadelphia become a part of Maryland. The Penn family defended the error and in 1729 established Lancaster County, Pennsylvania partly in defense of the error.