It was increasingly applied to educational purposes during the 19th century. Since the late 19th century smaller versions were also mass-produced as a toy for children. The magic lantern was in wide use from the 18th century until the mid-20th century, when it was superseded by a compact version that could hold many 35 mm photographic slides: the slide projector.