Allan McGregor has agreed to join Turkish side Besiktas on a two-year deal. The Scotland number one passed his medical with the Turkish side in Istanbul and the deal is done. Besiktas confirmed the agreement on its official website: "According to a club statement issued by Besiktas Football Ventures, former Glasgow Rangers goalkeeper Allan McGregor has agreed to a two-year deal with the Eagles." Speaking in an interview with BJK TV, McGregor said: "It's a big club, with a big tradition. Supposedly, they have great fans and a lot of noise in the stadium so I'm very excited. Every time I play, I don't like losing, which is a good thing to have. I'll just give my all for the team and hopefully I can do my best." McGregor is one of the players who did not agree to transfer his contract to newco Rangers. While he and the Scottish PFA consider him to be a free agent, Rangers dispute that and McGregor will look to be granted a temporary transfer certificate by FIFA ahead of arbitration over possible compensation. Like Rangers, Besiktas failed to meet financial criteria to gain a UEFA licence and could not take their place in this season's Europa League.