López used this same flag in 1850 to carry out his coup attempt to liberate Cuba from Spanish rule, which resulted in failure. The coastal town of Cárdenas was the first town that saw the lone star flag hoisted on May 19, 1850, in the taking of the city by Cuban rebels.
