 That the structure was built as a fortress points out the existence of a military outpost in charge of defending the official treasury against hostile attacks.The treasury was later transferred to the inner section of the Topkapı Palace in the sixteenth century and thereafter Seven Towers became the prison of prestigious captives.Yedikule was built on the shores of the Marmara Sea, at what was formerly the principal entrance gate to the city.