Rangers goalkeeper Allan McGregor has signed a new three-year contract.

"I'm here for another three years now and I'm delighted about that," said McGregor. "I wanted to leave last year because I didn't think I was going to play. The only reason I did get in the team was because of Lionel Letizi's injury. It can take someone else's misfortune to give you that chance, so I'm glad it happened and that I stayed at the club in the end."