The sexagenary cycle is formed by combining the twelve earthly branches representing the years of Jupiter's orbital cycle and the ten heavenly stems of the Shang-era week, stopping halfway through to reflect the pairing of yin and yang terms.
Source: wiktionary