Along with the one dedicated to Cofucius, this temple is one of the oldest and well preserved, not only in Tainan, but in whole Taiwan. It's dedicated to the God of War, Kuankung, and was built by the Ming Dinasty during the mid-17th century.
Just at the left of the temple there's an interesting small factory of religious sculptures.