The Vatican Council
Fourth Session, Chapter 3
ON THE POWER AND CHARACTER OF THE PRIMACY OF THE ROMAN PONTIFF
And so, supported by the clear witness of holy scripture, and adhering to the manifest and explicit decrees both of our predecessors the Roman pontiffs and of general councils, we promulgate anew the definition of the ecumenical council of Florence, which must be believed by all faithful Christians, namely that the apostolic see and the Roman pontiff hold a world-wide primacy, and that the Roman pontiff is the successor of blessed Peter, the prince of the apostles, true vicar of Christ, head of the whole church and father and teacher of all christian people.
To him, in blessed Peter, full power has been given by our lord Jesus Christ to tend, rule and govern the universal church. All this is to be found in the acts of the ecumenical councils and the sacred canons. Wherefore we teach and declare that, by divine ordinance, the Roman church possesses a pre-eminence of ordinary power over every other church, and that this jurisdictional power of the Roman pontiff is both episcopal and immediate. Both clergy and faithful, of whatever rite and dignity, both singly and collectively, are bound to submit to this power by the duty of hierarchical subordination and true obedience, and this not only in matters concerning faith and morals, but also in those which regard the discipline and government of the church throughout the world.
In this way, by unity with the Roman pontiff in communion and in profession of the same faith , the church of Christ becomes one flock under one supreme shepherd .
This is the teaching of the catholic truth, and no one can depart from it without endangering his faith and salvation. This power of the supreme pontiff by no means detracts from that ordinary and immediate power of episcopal jurisdiction, by which bishops, who have succeeded to the place of the apostles by appointment of the Holy Spirit, tend and govern individually the particular flocks which have been assigned to them. On the contrary, this power of theirs is asserted, supported and defended by the supreme and universal pastor; for St Gregory the Great says: "My honour is the honour of the whole church. My honour is the steadfast strength of my brethren. Then do I receive true honour, when it is denied to none of those to whom honour is due." 
Furthermore, it follows from that supreme power which the Roman pontiff has in governing the whole church, that he has the right, in the performance of this office of his, to communicate freely with the pastors and flocks of the entire church, so that they may be taught and guided by him in the way of salvation.
And therefore we condemn and reject the opinions of those who hold that this communication of the supreme head with pastors and flocks may be lawfully obstructed; or that it should be dependent on the civil power, which leads them to maintain that what is determined by the apostolic see or by its authority concerning the government of the church, has no force or effect unless it is confirmed by the agreement of the civil authority.
Since the Roman pontiff, by the divine right of the apostolic primacy, governs the whole church, we likewise teach and declare that he is the supreme judge of the faithful  , and that in all cases which fall under ecclesiastical jurisdiction recourse may be had to his judgment . The sentence of the apostolic see (than which there is no higher authority) is not subject to revision by anyone, nor may anyone lawfully pass judgment thereupon  . And so they stray from the genuine path of truth who maintain that it is lawful to appeal from the judgments of the Roman pontiffs to an ecumenical council as if this were an authority superior to the Roman pontiff.
So, then, if anyone says that the Roman pontiff has merely an office of supervision and guidance, and not the full and supreme power of jurisdiction over the whole church, and this not only in matters of faith and morals, but also in those which concern the discipline and government of the church dispersed throughout the whole world; or that he has only the principal part, but not the absolute fullness, of this supreme power; or that this power of his is not ordinary and immediate both over all and each of the churches and over all and each of the pastors and faithful: let him be anathema.
49. Council of Florence, session 6 (see above p. 528).
50. See Jn 10, 16.
51. Ep. ad Eulog. Alexandrin. (Letter to Eulogius of Alexandria), Vlll 29 (30) (MGH, Ep. 2, 31 28-30, PL 77, 933).
52. Pius VI, Letter Super soliditate dated 28 Nov. 1786.
53. From Michael Palaeologus's profession of faith which was read out at the second council of Lyons (D no. 466).
54. Nicholas 1, Ep. ad Michaelem imp. (Letter to the emperor Michael) (PL 119, 954).