In the works of Arcangelo Corelli and his contemporaries, two broad classes of sonata were established, and were first described by Sébastien de Brossard in his "Dictionaire de musique" (third edition, Amsterdam, ca. 1710): the sonata da chiesa (that is, suitable for use in church), which was the type "rightly known as "Sonatas"", and the sonata da camera (proper for use at court), which consists of a prelude followed by a succession of dances, all in the same key. Although the four, five, or six movements of the sonata da chiesa are also most often in one key, one or two of the internal movements are sometimes in a contrasting tonality .