On January 11 , Beckham signed a five-year , $ 250 million contract to join Major League Soccer 's Los Angeles Galaxy after his contract with Real Madrid expires June 30 .