the 1997–98 Scottish Cup they defeated SFL club, East Stirlingshire, before losing 7–2 to Dunfermline Athletic, then of the Premier Division. The club applied to join the Scottish Football League in 2002, after Airdrieonians had gone bankrupt, but Gretna won the vote instead. Edinburgh City applied again following Gretna's liquidation in 2008, but this time lost out to Annan Athletic. Edinburgh City won the East of Scotland Football League Premier Division title for the first time in the 2005–06 season and became members of the new Lowland League in 2013. The club won the Lowland League title in 2014–15 and 2015–16. They then gained promotion to the Scottish Professional Football League by defeating East Stirlingshire in a play-off with a penalty four minutes from time by Dougie Gair. The victory also meant that it was the first time that a non-league club had been promoted to the professional league. The club finished in seventh place during their first Scottish League Two season of 2016–17. They avoided the relegation play-offs in 2018, finishing eight points ahead of bottom placed Cowdenbeath, and fared better in 2018–19, finishing third and qualifying for the League One promotion play-offs; however, they were knocked out by Clyde in the play-off semi-finals, losing 4–0 over two legs. Edinburgh City sat second in the table after 27 games when the truncated 2019–20 season was brought to an early finish in April 2020. The club began preparations for 2020–21 by announcing the signing of a pre-contract with former striker Ouzy See in June 2020. This was followed up by the signing of defender Lee Hamilton from Stranraer and goalkeeper Kelby Mason in July. The club also confirmed that sporting director Jim Jefferies had departed to return to Hearts. Despite finishing 4th in the 2021–22 season, Edinburgh City navigated through the League One play-offs and earned promotion to the Scottish League One, the 3rd tier in Scottish football, for the first time in their history. In June 2022 the club changed their name to FC Edinburgh, as they no longer felt the 1986 permission from the Edinburgh City social club to use the name was sufficient, and wished to own their own name outright. When the social club refused to surrender the name, the football club changed to "Football Club of Edinburgh". The club clarified in October 2022 that it should be known as Edinburgh, rather than its full name