The son of Senator James McSherry, William McSherry of Littlestown was born there April 14, 1821. William received his education at Mount St. Mary’s College, Maryland, from which he graduated in 1840. In 1841 he began reading law with Gen. James M. Coale of Frederick, Maryland and was admitted to the bar in 1842, opening a practice with US Senator James Cooper in Gettysburg, 1842 to 1846. In 1847, he was elected to the Pennsylvania House of Representatives on the Whig ticket, and in 1849 was elected again to fill a vacancy caused by the election of law partner James Cooper to the United States Senate; and was again elected as a representative in 1851. He served two three-year terms in the state Senate, 1862 and 1871. William was president of the Littlestown Railroad Company. He died on January 10, 1899; interred in St. Aloysius Cemetery, Littlestown, Pennsylvania. He married first, Eliza T. McSherry (not related) and the daughter of John Budy.