Complex sentence: After 1815 the fort served a variety of purposes, including military prison and lunatic asylum.
Split into simpler sentences: After 1815 the fort served a variety of different purposes. One use was as a military prison and lunatic asylum.