 The first calls for independence from the Spanish crown came on 10 August 1809; a plain red flag was flown by the rebels. The independence movement was defeated in November 1812 at the hands of Spanish officer Juan Sámano. On 9 October 1820, a new flag, a blue and white bicolour, with five horizontal alternating stripes, and three white stars in the middle stripe, was raised for the first time. The three stars represent Guayaquil, Portoviejo and Machala. This flag was later adopted by the Guayas Province.
