Prior to UPA's termination, Columbia struck a 10-year distribution deal with Hanna-Barbera, which had just left the freshly shut down Metro-Goldwyn-Mayer Cartoon Studio. This deal would mostly be involved with Columbia's TV division, Screen Gems, which ironically borrowed the name from the animation studio. In 1959, Hanna-Barbera produced the only theatrical series for Columbia, Loopy De Loop. This series was a success, and ran until 1965. Hanna-Barbera also produced 2 movies for Columbia, which was Hey There, It's Yogi Bear! and The Man Called Flintstone. Columbia's 10-year contract with Hanna-Barbera expired in 1967, and was not renewed, thus ending Columbia's association with Hanna-Barbera in every way.