The President of the New York Public Library serves as the chief executive officer of the New York Public Library and exercises general supervision over its affairs. The president is elected yearly by the New YorkPublic LibraryBoard of Trustees. John Bigelow served as the first president from the library's founding in 1895 to his death in 1911. The current president is Anthony Marx, who has served since taking office in 2011. The president received a salary of $781,000. Upon the urging of Bigelow, an executor of Samuel J. Tilden's will, the NYPL was formed when the Lenox and Astor libraries merged in 1895. Both the Astor and the Lenox maintained presidents for the duration of their existence. The three libraries have had a total of twenty presidents. Historically, presidents of the libraries have been both wealthy and prominent individuals, such as author and diplomat Washington Irving; Governor of New York, United States Secretary of State, and United States SenatorHamilton Fish; and businessman John Stewart Kennedy. Additionally, several prominent lawyers served as President, including John Lambert Cadwalader, George L. Rives, Lewis Cass Ledyard, and Frank Polk. It was customary for presidents to serve until their deaths until Morris Hadley resigned in 1958. Subsequently, all presidents have resigned before their deaths, with the exception of Timothy S. Healy. The Lenox Library was founded in 1870 by James Lenox, who served as its president until his death in 1880. After Lenox's death, his son Robert Lenox Kennedy succeeded him and served for seven years before being replaced by John S. Kennedy, who would serve until the merging of the libraries in 1895. The Astor Library was founded in 1848, at the behest of Joseph Cogswell. Its prime benefactor was John Jacob Astor, who left $400,000 to the library. On February 14, 1849, the trustees of the library met and elected their first president, Washington Irving, who would serve until his death in 1859. After Irving, William Blackhouse Astor was elected, and subsequently Alexander Hamilton Jr., Hamilton Fish, and Thomas M. Markoe. The NYPL has since had twelve presidents.