long time ago, there was Accrington FC, one of the founders of the Football League, and Stanley Villa at Accrington. it was called Stanley Villa cause they were based at Stanley Arms on Stanley Street.
then Stanley Villa got the name of the city with the end of Accrington FC, forming the first Accrington Stanley
i think thats it, i read that on the official website some time ago