Virginia congressman Eric Cantor, the number two house republican will surrender his post as majority leader at the end of July following his surprise primary defeat.