ANKARA - After completing the landmark visit in Egypt, Saudi King Salman arrived in Turkey on Monday for a visit aimed at tightening increasingly close ties between the two overwhelmingly allies, receiving a lavish welcome that underlined the strength of relations.

The 80-year-old king was welcomed at Ankara airport by a delegation personally led by President Recep Tayyip Erdogan, in an unusual break from protocol and showing the importance Turkey attatches to the visit.

Television footage showed the king, wearing black sunglasses, serenely descending from the plane with a special escalator rather than steps before being welcomed by Erdogan. King Salman is expected to hold talks on Tuesday at Erdogan's presidential palace in Ankara expected to focus on the Syrian conflict and the fight against militants.

Salman will then attend the Organisation of Islamic Cooperation (OIC) summit in Istanbul on Thursday and Friday after wrapping up talks in the Turkish capital.

Local media reported that he will stay in Ankara in a 450 square-meter (4,850 sq ft) hotel suite, with bullet proof windows reinforced by bomb-resistant cement.

A 300-person Saudi delegation had earlier arrived in Ankara to coordinate the king's accommodation and deal with security issues, the Hurriyet newspaper said.

Five hundred luxurious Mercedes, BMW and Audi cars had been hired for the king's transport in Ankara and Istanbul, it added. The king's personal belongings had all been shipped to Turkey in cargo planes.

Saudi Arabia and Turkey have forged close alliance after their relationship had been damaged by Riyadh's role in the 2013 ousting of Egyptian president Mohammed Morsi, a close ally of Ankara.

Saudi King Salman on Monday wraps up a landmark five-day visit to Egypt marked by lavish praise and multi-billion-dollar investment deals, in a clear sign of support for President Abdel Fattah al-Sisi's iron-fisted regime.

The 80-year-old monarch's visit comes as Riyadh aims to keep Cairo under its aegis as it remains engaged in several conflicts in the Middle East and competes with Shiite Iran for regional supremacy.

The visit also highlights Saudi Arabia's firm support for Egypt's fight against the militant Islamic State group, which has spearheaded a brutal insurgency in the Sinai Peninsula since the ouster of Islamist president Mohamed Morsi in 2013.

"The other mission that we should work on together is the fight against extremism and the fight against terrorism," King Salman said on Sunday in an address to the Egyptian parliament.

On Monday, he was awarded an honorary doctorate from Cairo University.

Over the past five days, King Salman and Sisi signed a slew of multi-billion-dollar investment deals that included a plan to build a bridge over the Red Sea connecting Saudi Arabia and Egypt.

Egypt also agreed to demarcate its maritime borders with Saudi Arabia by officially placing two islands in the Straits of Tiran in Saudi territory.

The agreement provoked an immediate backlash in Egypt, with thousands of Twitter users accusing Sisi of selling the islands. The islands had historically been Saudi and were "leased" to Egypt in 1950.

Analysts said Salman's visit puts to rest months of reports in Saudi and Egyptian media of strained ties between the two countries over Cairo's unwillingness to participate fully in Saudi-led operations against Iran-backed Shiite Huthi rebels in Yemen.

Egypt had announced it would back Saudi Arabia with ground troops if needed, but appears to have balked at the prospect of becoming mired in the conflict.

"The two countries realise that common interests outweigh their practical differences," said Fawaz Gerges, professor of Middle East politics at the London School of Economics and Political Science.

Following Salman's visit, Egypt would now be expected to offer more vocal support for Saudi Arabia when it comes to Iran and Yemen, he said.

"The Egyptians are basically going to convince the Saudis that they are in the same trench when it comes to the Saudis' existential fight with Iran, and Saudi Arabia too seems to be very committed to Egyptian national security and the Sisi adminstration," said Gerges.

While the kingdom is part of the US-led coalition bombing IS in Iraq and Syria, it is also leading an Arab coalition, of which Egypt is a member, that has been bombing Huthi rebels in Yemen.

Since then army chief Sisi ousted Morsi in 2013, Saudi Arabia has supported the former army chief. Riyadh viewed Morsi's Muslim Brotherhood movement with deep suspicion.

Saudi support for Cairo has helped Sisi tighten his grip on Egypt after he crushed not just the Brotherhood and secular dissidents. Hundreds of supporters of Morsi have been killed and tens of thousands jailed in the a blistering police crackdown.

Hundreds more including Morsi himself have been sentenced to death or lengthy jail terms after often speedy trials that have been condemned by the United Nations and global rights groups.

Prior to Salman's visit, Riyadh had already pumped billions of dollars in aid and investments into Egypt. It has helped prop up Egypt's economy, whose tourism industry has been devastated by years of political turmoil and militant attacks.

"Although Saudi Arabia's support is important to confront Egypt's economic crisis, what Egypt needs is more political stability and security to attract tourism and foreign direct investments," said Ibrahim El-Ghitany, researcher at Cairo-based Regional Centre for Strategic Studies.

Egypt's economy, which is heavily dependent on tourism, was dealt a body blow when IS downed a Russian airliner over the Sinai Peninsula on October 31.

All 224 people on board, mostly Russian tourists, were killed in the attack which IS said was carried out by stowing a bomb on the aircraft.