Answer:
It was originally a Mission, a church built for use by missionaries who wanted to spread Christianity to the natives in the area. The building itself was never completed. The Mission had been deserted for years by the time of the Texan War of Independence, and both armies had used it as a fort.