DJing originated in the 1940s when radio broadcasters started using turntables to play records. It later expanded to nightclubs in the 1960s and 1970s, with DJs like Grandmaster Flash and DJ Kool Herc pioneering techniques such as scratching and breakbeat mixing.