Every person exercising the profession of a pilot in the bay or river Delaware, under a license duly granted, or may be hereafter granted by said board of wardens of the port of Philadelphia, shall, immediately after the passage of this act, take and subscribe an oath or affirmation, before the master warden of said port, who is hereby authorized and empowered to administer the same, that he will support the constitution of the United States, and the constitution and laws of Pennsylvania, and well and faithfully perform his duty as a pilot.
55 P.S. § 51