 Complete the following phrase:  Barnsley Football Club is an English association football club based in the South Yorkshire town of Barnsley. Founded in 1887 under the name Barnsley St Peters, the team played in the Sheffield  District League from the 189091 season and first entered the FA Cup in 189394. Two years later, they were accepted into the Midland League. The club changed its name to Barnsley F.C. in 1897; its team finished as Midland League runners-up in the first season under the new name, and were elected to the newly expanded Second Division of the Football League for the 189899 season. A 16th-place finish in their second season meant they had to apply for re-election; the application was successful, and Barnsley continued safely in mid-table until 1911, when they again needed to be re-elected to the League. Their cup form was rather better: either side of that poor League placing, they reached the FA Cup final. In 190910, they drew 11 with Newcastle United in the final at Crystal Palace, but lost 10 in the replay at Evertons Goodison Park ground. Two seasons later, after taking three replays to get through the quarter-final, they played out a goalless draw with West Bromwich Albion at Crystal Palace; this time Barnsley won the replay, at Sheffield Uniteds Bramall Lane ground, 