The administration of William Beresford was swiftly replaced by a Provisional Junta, and the "General Extraordinary and Constituent Cortes of the Portuguese Nation", whose deputies were chosen by indirect election, was summoned on 1 January 1821 to draft a written Constitution. This constitutional assembly was composed of diplomatic functionaries, merchants, agrarian burghers, and university-educated representatives who were usually lawyers. Most of all these were ideological romantics, later referred to as "Vintistas" for their audacious radicalism. State censorship of the press and literary productions was lifted, and the Portuguese Inquisition was extinguished; a general amnesty for those involved in anti-liberal movements was also ordered. On 26 April 1821, John VI departed for Lisbon, arriving on 3 July of the same year, and communicated to the Cortes the establishment of a Regency in Brazil in the name of his heir-apparent, Pedro I of Brazil. The deputies did not recognize the King's authority to designate regents, nor support the Bragança Agreement, which stipulated that the Portuguese Crown should pass to Prince Pedro if Brazil gained its independence.