Nationalist Nikolic is Serbian president