Azerbaijan President Ilham Aliyev declared victory in a televised address to the nation, saying his country had restored its sovereignty over Nagorno-Karabakh.