This is the Imperial Gate or Babı Hümayün. After Mehmet grounded it is has been changed a lot in later centuries. About a hundred years back a second story that it had for much of its life was taken down by Abdül Aziz. He surrounded the gate with the present marble frame and lined the niches with marble too.
This is looking back to the Blue Mosque.