After the Ashburn affair, William got into the railroad industry. Once he moved to Pensacola, Florida he built it's first railroad which is now part of the Louisville and Nashville Railroad. He went on to build the Pensacola and Atlantic Railroad. William went on to become mayor of Pensacola for one term. He passed away on December 1st, 1897 while in Washington D.C.