In 1865 William invented an unbroken main line railroad switch. Partnering on occasion with his brother Joseph he was involved in the early 1900s, when Joseph built the Wharton and Northern Railroad, which included a branch from Lake Denmark into Upper Hibernia. (see History of Rockaway, NJ)
William married Anna Walter June 24, 1852., the daughter of Edwin and Hannah Ann Newlin Walter.
DELAWARE COUNTY REPUBLICAN July 16, 1852
MarriageIn Philadelphia, on the 24th ult., at a meeting of relatives and friends assembled for the occasion, WILLIAM WHARTON Jr., to ANNA WALTER, daughter of Edwin Walter, all of that city.
They had five children before Anna's death at Germantown June 17, 1909.