sentence1: It leads into the Second Court, also known as the Court of the Divan, because the Imperial Council (known as the Divan) governed the Ottoman Empire from here.
sentence2: This court was used mostly for entertainment purposes, not for government business.