The original Pittsburgh club, formed in 1882, was in the then-separate city of Allegheny, Pennsylvania, across the Allegheny River northwest of downtown Pittsburgh. Thus the club was called "Allegheny" in the standings, and in the style of the day, the "Alleghenys" (note that it was "not" "Alleghenies"). The Alleghenys played in the American Association during 1882–1886, then transferred to the National League in 1887. However, out-of-town newspapers tended to list the team as "Pittsburg" (as it was often spelled at the time) rather than "Allegheny." The club wore "Pittsburgh" (variously spelled with or without the final "h") on its uniforms by 1890, although Allegheny remained a separate city until it was annexed by Pittsburgh in 1907.