Welcome to PF;
iirc that's one of the ways the Universe gets dated.
As the universe expands, the CMB photons are redshifted, making the radiation's temperature inversely proportional to a parameter called the universe's scale length. The temperature Tr of the CMB as a function of redshift, z, can be shown to be proportional to the temperature of the CMB as observed in the present day (2.725 K or 0.235 meV)...
--- Noterdaeme, P.; Petitjean, P.; Srianand, R.; Ledoux, C.; López, S. (February 2011). "The evolution of the cosmic microwave background temperature. Measurements of TCMB at high redshift from carbon monoxide excitation". Astronomy and Astrophysics 526: L7. arXiv:1012.3164. Bibcode:2011A&A...526L...7N. doi:10.1051/0004-6361/201016140.