Before entering upon office the Chief Justice of Pakistan shall make oath before the ____________________?

Before entering upon office the Chief Justice of Pakistan shall make oath before the ____________________?

A. President
B. Prime Minister
C. Retiring Chief
D. None of above