The rare bipartisan agreement comes two months before the governor's election.