Complex sentence: Thrissur was the capital of the Kochi Kingdom for a long time hence the State Prison was located here.
Split into simpler sentences: Thrissur was the capital of Kochi Kingdom for a long time. Hence the State Prison was located here.