Rap battles have been around since the 5th century. ‘Flyting’ was a ritual in which two people competed by exchanging insults in poetic verse, similar to modern freestyle battles between rappers. The insults were very provocative, and people often accused each other of cowardice and sexual perversion. Source