See Full Constitution
Article III

Section 3. Election returns, publications; election by General Assembly

The returns of every election for Governor shall be sealed up and immediately transmitted to the President of the Senate, or in case of a vacancy in the office of President of the Senate, or his or her absence from the State to the Secretary of State, who shall keep the same until a President of the Senate shall be chosen, to whom they shall be immediately transmitted after his or her election, who shall open and publish the same in the presence of the members of both Houses of the General Assembly. Duplicates of the said returns shall also be immediately lodged with the Prothonotary of each county. The person having the highest number of votes shall be Governor; but if two or more shall be equal in the highest number of votes, the members of the two Houses shall, by joint ballot, choose one of them to be Governor; and if, upon such ballot, two or more of them shall still be equal and highest in votes, the President of the Senate shall have the casting vote.