The cantata is a vocal composition with instrumental accompaniment, typically involving a choir. It originated in the early 17th century in Italy, where it began as a solo madrigal but later included multiple voices. Over time, the cantata took on different forms, from the chamber cantata to the church cantata to longer dramatic works of the 18th century. Johann Sebastian Bach wrote many sacred cantatas that were essentially short oratorios. The cantata was first defined in compositions by Alessandro Grandi in the early 1600s and was originally intended to be sung rather than played instrumentally.