The first background of the Catalan parliamentary institution, goes back to the 11th century, with the assemblies of "Pau i Treva" and the Cort Comptal (and later the Consell de Cent). During the reign of Jaume I, the Cort Comptal transformed into the General Courts of Catalonia, institution that consolidated in subsequent reign. The General Courts had three branches: the military branch, which brought the representatives of the nobility together; the ecclesiastical branch, with the representatives of the religious hierarchy, and the royal branch, with the representatives of the municipalities. A lot wide sectors of the population were not represented, but is possibly the oldest sort of parliamentary institution in the modern negotiating way.