State Flag of Costa Rica between 1906 and 1964. In 1964 a law was passed by government to reduce the numbers of the stars from 5 to 7, to reflect the increase of number of its provinces.