England goalkeeper Robert Green has agreed a two-year deal with Queens Park Rangers.
Green, 32, had spent the last six years with West Ham United but failed to agree terms on a new deal and was available on a free transfer.
Green will now compete with current QPR goalkeepers Paddy Kenny and Radek Cerny for the No. 1 spot and manager Mark Hughes told the club's official website: "It was important we brought another quality 'keeper into the group.
"Rob is obviously someone with vast experience at international and Premier League level and his pedigree speaks for itself. He's got all the characteristics of a top 'keeper and he'll be a huge addition for us who will stimulate the goalkeeping group, which can only be good for the squad as a whole."
Green, who is currently with the England squad at Euro 2012, added: "I'm delighted to be here. I'm excited about the challenge ahead and hugely encouraged by the direction in which the owners and Mark Hughes are looking to take the club.
"It's an exciting period for everybody connected to QPR and I can't wait to get started."
Green, who has 12 England caps, will officially move to Loftus Road on July 1.