However, the two states came to an agreement that the border between the two states would be the midpoint of the waters between them. However, the islands on the New Jersey side would be retained by New York. This means that Liberty Island is part of New York, but completely surrounded by New Jersey.