(CNN) -- U.S. Vice President Joe Biden apologized to Turkey's leader on Saturday for saying that President Recep Erdogan admitted his country had made mistakes allowing foreign fighters to cross into Syria. The apology came hours after Erdogan expressed his anger over the comments to reporters in Istanbul, saying "Biden has to apologize for his statements." Or Biden, he said, will become "history to me," according to published reports by the semi-official Anadolu news agency. The problem appears to have originated during a question-and-answer session following a speech this week at the John F. Kennedy School of Government at Harvard University when Biden was asked about Turkey and the threat posed by the so-called Islamic State terror group, known as ISIS or ISIL.
@highlight
Turkey's President Recep Erdogan demanded an apology from Vice President Joe Biden
@highlight
Erdogan was angered by comments Biden made
@highlight
Biden said Erdogan told him that Turkey had let too many people through the border
@highlight
Erdogan told reporters Biden must apologize or he will be "history to me"
"The Vice President made clear that the United States greatly values the commitments and sacrifices made by our Allies and partners from around the world to combat the scourge of @placeholder, including Turkey."
"The Vice President made clear that the United States greatly values the commitments and sacrifices made by our Allies and partners from around the world to combat the scourge of ISIL, including @placeholder."
The government also agreed to allow foreign troops to launch operations against ISIS from @placeholder.
Turkey, in turn, has accused Syria of fomenting the unrest that has led to @placeholder taking hold in the region.