Qarabağ Futbol Klubu, commonly known as Qarabağ () is an Azerbaijani professional football club, based in Baku, that competes in the Azerbaijan Premier League, the top flight of Azerbaijani football. The club originates from Aghdam but has not played in its hometown since 1993 due to the First Nagorno-Karabakh War. The club is now based in the capital city of Baku. Qarabağ plays its matches at the Azersun Arena and Tofiq Bahramov Stadium in Baku, which also serves as the venue for Azerbaijan national team matches. Formed in 1987, Qarabağ were founding members of the Azerbaijan Premier League in 1992. One season later, they won their first league championship, becoming the first non-Baku-based club to win the Premier League title. Qarabağ is one of the two teams in Azerbaijan, along with Neftçi PFK which has participated in all Premier League championships so far. In 2014, the club won the Premier League, their first league title in 21 years. Qarabağ have won the Premier League nine times and Azerbaijan Cup seven times. Qarabağ became the second Azerbaijani team after Neftçi PFK to advance to the group stage of a European competition, making its in the UEFA Europa League group stage in 2014–15 season. Qarabağ is the first Azerbaijani team to advance to the group stage of the higher UEFA Champions League, competing in the 2017–18 season. The club have played more UEFA matches than any other Azerbaijani team. History Soviet era (1951–1991) The club was founded in 1951 as Mehsul after the Aghdam city stadium was built; there then began a serious effort towards the creation of a professional football team. Consequently, Qarabağ FK, playing under the name of Mehsul, took part in the 1966 Azerbaijani SSR championship. That year, the club reached fourth place in the local championship. Qarabağ participated in the local championship for four consecutive years during which second place was their best result (achieved in 1969). After 1969, however, owing to carelessness and a lack of financial support, the team withdrew from the championships for almost ten years. In 1977, the team was reborn under name Shafaq. In 1982 Shafaq was the only representative of Aghdam in football. Between 1982 and 1987, the squad used the name "Cooperative society". In 1988, Qarabağ won the champions title in the Azerbaijan SSR local championship under its current name. In addition to championship medals, the club won the right to