It was built by Abdul Hamid II in 1882 for the sultan's guests on state visits, but Abdul Hamid liked it so much that he lived there himself until he was deposed in 1909.
It was built is 1882 because Abdul had to save up for years.