The construction of the Topkapi Palace in Istanbul began seven years after the city was opened in 1460, and it lasted for 18 years until it was completed in 1478.