With the result, Costa Rica have qualified for the quarter-finals, where they will play the Netherlands.
"We are making history. It's beautiful what we have done," said coach Jorge Luis Pinto.
Costa Rica have played some lovely football in this Cup - wouldn’t it be great to see them beat the Dutch!