Wynn Resorts Wednesday morning tried to make a $1 million payment owed to the city of Boston as compensation for the company’s Everett casino, but ended up delivering the check to the state gambling commission instead to hold in escrow after the city refused to accept it, the company said in a statement.

Wynn sent the payment two days after Boston Mayor Martin J. Walsh’s administration sued the gambling commission in an effort to block Wynn’s casino project, planned for former industrial land on the Mystic River in Everett, which borders Boston’s Charlestown neighborhood.

The payment is part of a compensation package imposed on Wynn in September by the commission, after the company and the city were unable to negotiate an agreement and Walsh refused to participate in the commission’s arbitration procedures.