The Arizona Diamondbacks and Maricopa County have reached a preliminary agreement that will allow the club to immediately begin searching for construction sites on a new stadium.

The agreement is under the condition that the Diamondbacks drop a preexisting $187 million lawsuit against the county that was brought in 2017 after ownership alleged that the county neglected to abide by contractually agreed upon maintenance and repair obligations.

According to a report, the agreement would allow the Diamondbacks to leave Chase Field in 2022, five years before the end of the initial 30-year lease, if the proposed construction site is in Maricopa County.