Hull have completed the signing of Scotland goalkeeper Allan McGregor from Besiktas for an undisclosed fee.

The 31-year-old former Rangers player has signed a three-year deal at the KC Stadium as the Tigers continue to prepare for their return to the Premier League .

McGregor told Hull's website: "I'm really excited to be here and I'm happy that everything is done now.

"I can't wait to get started here. This is a great chance for me to play in the Premier League and I'm looking forward to the season ahead."

McGregor, who spent 14 years with Rangers before his move to Turkey last summer, has won 29 caps for his country.

He returned in August 2010 from over a year in international exile after he was dropped over a late-night drinking session with team-mate Barry Ferguson. The pair were then caught making v-signs to photographers while on the substitutes' bench during a game against Iceland.

His move to the KC Stadium, which is subject to international clearance, represents the latest step in City boss Steve Bruce's efforts to strengthen his defence ahead of the top-flight campaign.

Bruce has already signed defender Curtis Davies from Birmingham and given new contracts to centre-back James Chester and full-back Liam Rosenior.

McGregor fills one of the club's primary needs for the new season, with the erratic Eldin Jakupovic and the untried Mark Oxley the only senior keepers previously on their books. Hull took Fulham 's David Stockdale on loan for the latter part of last season.

Forward Sone Aluko was quick to welcome his former Gers team-mate to East Yorkshire, writing on Twitter: "Buzzing McGregor has signed for us! Top class keeper and what a guy! Welcome to Hull Greegsy!!''