At the time of the Revolution, Anderson was serving on Anthony Wayne's first Chester County Committee of Safety.
The Assembly sent a Captain's Commission to him, and, although an older man, being 55 at the time, he accepted it, called together his old soldiers, and the entire company of fifty-six men enlisted.
Anderson paid for and outfitted his entire company but was never compensated by the Continental Congress, and lost half of his farm, which he had mortgaged to a neighbor.
His service to his country has been commemorated through a pew dedicated in his honor at the Washington Memorial Chapel at Valley Forge National Park, the engraved inscription reads: Anderson is believed to be buried in the churchyard at St. Peter's of the Great Valley where he was a Vestryman however, his actual grave site has been lost to changes made to the church over the years.
A large bronze plaque commemorates his memory inside the old church, almost directly over his presumed burial site.