CIC 1900 The duty of obedience requires all to give due honor to authority and to treat those who are charged to exercise it with respect, and, insofar as it is deserved, with gratitude and good-will.
Pope St. Clement of Rome provides the Church’s most ancient prayer for political authorities:1 “Grant to them, Lord, health, peace, concord, and stability, so that they may exercise without offense the sovereignty that you have given them. Master, heavenly King of the ages, you give glory, honor, and power over the things of earth to the sons of men. Direct, Lord, their counsel, following what is pleasing and acceptable in your sight, so that by exercising with devotion and in peace and gentleness the power that you have given to them, they may find favor with you.”2

1 Cf. as early as 1 Tim 2:1-2.
2 St. Clement of Rome, Ad Cor. 61: SCh 167,198-200.