Former House Speaker Newt Gingrich said Friday that Reince Priebus will be known as "one of the most important" chairs of the Republican National Committee in history.

Gingrich, an informal adviser to President Trump, offered effusive praise for Priebus after Trump replaced him as White House chief of staff with John Kelly, the secretary of homeland security.

"Priebus will go down in history as one of the most important RNC chairs in the 163 year history of the GOP," Gingrich said on Twitter of Priebus, who was chairman of the RNC before Trump named him chief of staff. "He changed history."

Gingrich credited Priebus for installing a ground game with the RNC that helped Trump win the presidency.

"Reince Priebus worked nonstop for over 6 years to elect a GOP President, House and Senate," Gingrich said. "Trump would have lost without the RNC ground game."

The former Republican House speaker said Priebus still has a future in Republican politics.

"Priebus will go on to a great future either in winning office in Wisconsin or in becoming a national analyst and adviser," Gingrich said. "He knows a lot."

Gingrich also congratulated Kelly, who he called a "remarkable Marine."