U.S. Secretary of State Condoleezza Rice paid an unannounced visit to Baghdad on Saturday, arriving as American and Iraqi troops made initial gains in a new crackdown against militants in the Iraqi capital.