The flag of South Vietnam served as national flag of the former State of Vietnam and its successor, the Republic of Vietnam from 1949 to 1975. The flag is currently being banned in Vietnam; displaying the flag in public is an offense punished by imprisonment.[citation needed]