No, the battle of the Alamo was lost, but Texas still declared itself an independent republic in 1836.