They worked out a deal earlier in the day