The flag of the Ottoman Navy was made red as red was to be the flag of secular institutions and green of religious ones. As the reforms abolished all the various sub-sultanates, pashaliks, beyliks and emirates, a single new flag was designed to replace all the various flags used by these entities with one single national flag. The result was the red and white flag with the crescent moon and star, which is the precursor to the modern Turkish flag.