Founded in 788 just before the city entered its golden age as the imperial capital , its numerous buildings nestle lovingly against steep Mt .
Before the city entered a golden age , it was founded in 788 .