The flag of Uruguay was first adopted by law on December 16, 1828. It had 17 stripes until July 12, 1830, when a new law reduced the number of stripes to nine.
As Uruguay has 19 departments (provinces) the number of stripes on the flag does not appear to match the number of departments.