Complex sentence: Houska castle was not built to keep inhabitants or as a protective sancuary, it was built because they thought the hole was a gateway to hell.
Split into simpler sentences: Houska castle was not built to keep inhabitants or as a protective sanctuary. It was built because they thought the hole was a gateway to hell.