Rajapaksa, 70, defeated Premadasa, 52, by more than 13 lakh votes, according to the official results.
Rajapaksa, who will succeed President Maithripala Sirisena for a five-year term, will be sworn in as the seventh executive President of Sri Lanka on Monday at the ancient north central town of Anuradhapura.
He will be the second member from the Rajapaksa family to become the President. His older brother Mahinda Rajapaksa was President from 2005 to 2015.
Rajapaksa secured 52.25 per cent votes (6,924,255) while Premadasa received 41.99 per cent of the total votes polled (5,564,239), the election commission said.
Other candidates got 5.76 per cent votes.
Rajapaksa urged his supporters to “rejoice peacefully”.
“As we usher in a new journey for Sri Lanka, we must remember that all Sri Lankans are part of this journey. Let us rejoice peacefully, with dignity and discipline in the same manner in which we campaigned,” the retired lieutenant colonel said in a tweet.
As we usher in a new journey for Sri Lanka, we must remember that all Sri Lankans are part of this journey. Let us… https://t.co/1fxJuzdUbW
— Gotabaya Rajapaksa (@GotabayaR) 1573971573000
Rajapaksa had vowed to “restore relations” with Sri Lanka’s top lender, China, if he wins the election, despite international concerns over the island nation’s financial debt to the Asian superpower.
Premadasa, meanwhile, was considered leaning more towards India and the US.
He conceded the presidential election to his rival even before the official results were announced and also stepped down as the deputy leader of the ruling United National Party (UNP) with immediate effect.
“It is my privilege to honour the people’s decision and congratulate Mr. Gotabaya Rajapaksa on his election,” Premadasa said.
“I am grateful our citizens who voted for me. I am humbled that you placed your faith in me. Your support has been a fountain of strength throughout my political career,” he said on Twitter.
Rajapaksa, who was the top defence ministry bureaucrat for 10 years, swept the poll in the Sinhala majority districts while Premadasa garnered most of the votes from the Tamil dominated north and east and Muslim community, including the tea plantation workers of Indian origin.
Prime Minister Narendra Modi congratulated Rajapaksa and said he looks forward to further deepen relations between the two nations.
Rajapaksa thanked the people of India and PM Modi, saying he looks forward to strengthening the friendship and meeting him in the near future.
The turnout in the election was more than 80 per cent.
Prime Minister Ranil Wickremesinghe, who cannot be removed unless he steps down, is expected to resign.
The current Parliament cannot be dissolved at least before February next year.
It is believed that Rajapaksa, after taking over as the President, would appoint his elder brother and former strongman Mahinda as the Prime Minister.
Issuing a statement, Mahinda said one of the first tasks of the new government is to study the 19th amendment to the constitution adopted in 2015.
“We will be studying the provisions of 19A and planning our immediate program of action accordingly,” he said.
The 19A introduced a three-time bar to contest the presidency and made key areas such as elections, judiciary and public service independent of political influence.
Rajapaksa senior took to Twitter to congratulate his younger brother on election victory.
“I Congratulate @GotabayaR for his success at the #lka #PressPolls2019. The long campaign trail to serve our motherland again is worth it. Commiserations to @sajithpremadasa for a well, hard fought election. Above all, thankful to the citizens for facilitating a peaceful elections,” he said in a tweet.
I Congratulate @GotabayaR for his success at the #lka #PressPolls2019. The long campaign trail to serve our motherl… https://t.co/JKQEhfffsm
— Mahinda Rajapaksa (@PresRajapaksa) 1573984886000
President Sirisena termed Rajapaksa’s win as “historic”.
“My heartiest congratulations to the President-elect @GotabayaR on his historic victory!,” he said on Twitter.
My heartiest congratulations to the President-elect @GotabayaR on his historic victory!
— Maithripala Sirisena (@MaithripalaS) 1573985171000
Premadasa, the son of assassinated president Ranasinghe Premadasa, is a seasoned politician with an experience of more than 25 years in the power corridors.
The Rajapaska senior’s legacy of ending the Tamil separatist war has made him the darling of the Sinhala Buddhist majority. Gotabhaya was his top defence ministry official who supervised the military operations against the LTTE. While doing so, he acquired the reputation of a ruthlessly efficient administrator.
Rajapaksa’s victory marks the return of the family to the pinnacle of power in the island after they were surprisingly ousted in the previous presidential poll.
According to observers, with pro-China Rajapaksa winning the election, the result will have a bearing on India’s presence in the Indian Ocean region where Beijing is increasingly making inroads.
China, which has acquired Sri Lanka’s Hambantota port in 2017 as a debt swap, has been ramping up its ties with the island nation and expanded its naval presence in the Indian Ocean with an established logistics base in Djibouti.
Beijing in July gifted a warship to Sri Lanka, in a growing sign of its deepening military cooperation with the strategically located island nation in the Indian Ocean.
The Lanka election took place nearly seven months after the Easter Sunday attacks that killed 258 people, seriously hitting the tourism industry, one of the main forex earning sectors of the country.
Read this story in Bengali