MLB Network cannot keep confidential its compensation agreement with retired relief pitcher and former analyst Mitch Williams, who was fired by the network last year, a New Jersey appeals court has ruled.

MLB Network is the cable channel for Major League Baseball, and Williams was an analyst on “MLB Tonight,” its signature nightly show, until he was fired in 2014.

Williams is suing MLB Network in Camden County Superior Court for breach of contract, and the network is seeking to keep the compensation agreement it had with Williams confidential, arguing that making it public could put the network at a competitive disadvantage.