The Pirates were founded in 1881 under the name Pittsburgh Allegheny. The club joined the National League in 1887 where they've been members since.