Germany and Paraguay battled for 120 minutes but Gustavo Alfaro's men held their nerve in the penalty shootout to secure a historic victory.