 It is analogous to the foreign ministry of a state.The origin of this body is found in the "Congregatio super negotiis ecclesiasticis extraordinariis Regni Galliarum" (Congregation on the Extraordinary Ecclesiastical Affairs of the Kingdom of France) that Pope Pius VI set up on 28 May 1793 to deal with problems arising for the Church as a result of the French Revolution.After the fall of Napoleon, Pope Pius VII gave it competence for negotiations with all governments about ecclesiastical matters and renamed it the "Congregatio extraordinaria praeposita negotiis ecclesiasticis orbis catholici" (Extraordinary Congregation in Charge of Ecclesiastical Affairs of the Catholic World).