Because 2 more states had joined the union, the number of stars on the U.S. flag was changed to this in 1795
This flag flew from 4 July, 1795 to 4 July, 1818 
even though five more states would join the Union during that time.