Once piracy declined, what was the fort at Omoa used for?

as a private palace

as a school

as a prison

as a civic center

as a prison