The southern coast of the Persian Gulf was characterized by extensive warfare and piracy for many centuries. In 1820 the British were finally successful in enforcing peace on the local Arab states. The General Treaty of Peace signed at that time provided that those territories on friendly terms with the United Kingdom should include a white border on the plain red flags they previously had flown. Some countries, including Bahrain, reduced the white border to a narrow hoist strip of white. Red was chosen because it was the traditional colour of the Khārijite sect of Islam, which controlled that part of the Arabian Peninsula; white was a good contrasting colour.
It is not known exactly when the first red-white flag of Bahrain was established. Recognition was given to the flag in 1933 under the influence of the British adviser Charles Belgrave. The flag had been in use long before that, however. After the British began to withdraw from the Middle East, Bahrain was recognized as an independent state on August 15, 1971, and the country’s first flag law became effective August 19, 1972. For three decades, the dividing line between the flag’s white and red was displayed either as a straight line or as a serrated line, although the latter was more common. On February 14, 2002, the current flag design was adopted, specifying that the dividing line must be serrated into five white triangles.