Following the FLN's victory and the withdrawal of French troops with Algeria eventually gaining full independence, Ahmed Ben Bella wanted Nasser to be the first guest of independent Algeria upon officially taking over power on 20 September 1962.
This was due to the warm relationship between both leaders which dated back to Ben Bella's long stay in Cairo at the initial phase of the Algerian War.
Morocco's King Hassan II however accepted his invitation earlier than Nasser but he merely received the same welcoming Algerians gave Nasser when he arrived with thousands rushing from all over Algeria in order to see him.
This strong appreciation for Nasser was apparent in the following decades even after his death due to the Nasser's introduction of pan-Arabism, often called Nasserism, in Algeria with Ben Bella being a staunch Nasserist.
Ben Bella had established a special bureau designated for Arab world affairs which he dealt with cooperatively with Nasser and ties between both leaders were so strong that rumors started to appear about a Cairo-Algiers axis aimed at dominating North Africa and about Algeria's possible joining of the United Arab Republic that included Egypt and Syria.

Upon the outbreak of the Sand War between Algeria and Morocco when Moroccan forces attempted to claim the regions of Tindouf and Béchar from Algeria, Nasser, along with Cuba, immediately rushed arms to Algeria and sent a contingent of 1,000 troops who fought alongside the Algerians where 5 or more Egyptian officers were captured as prisoners of war.
Following the FLN's victory and the withdrawal of French troops with Algeria eventually gaining full independence, Ahmed Ben Bella wanted Nasser to be the first guest of independent Algeria upon officially taking over power on 20 September 1962. This was due to the warm relationship between both leaders which dated back to Ben Bella's long stay in Cairo at the initial phase of the Algerian War. Morocco's King Hassan II however accepted his invitation earlier than Nasser but he merely received the same welcoming Algerians gave Nasser when he arrived with thousands rushing from all over Algeria in order to see him. This strong appreciation for Nasser was apparent in the following decades even after his death due to the Nasser's introduction of pan-Arabism, often called Nasserism, in Algeria with Ben Bella being a staunch Nasserist. Ben Bella had established a special bureau designated for Arab world affairs which he dealt with cooperatively with Nasser and ties between both leaders were so strong that rumors started to appear about a Cairo-Algiers axis aimed at dominating North Africa and about Algeria's possible joining of the United Arab Republic that included Egypt and Syria.
Upon the outbreak of the Sand War between Algeria and Morocco when Moroccan forces attempted to claim the regions of Tindouf and Béchar from Algeria, Nasser, along with Cuba, immediately rushed arms to Algeria and sent a contingent of 1,000 troops who fought alongside the Algerians where 5 or more Egyptian officers were captured as prisoners of war.
Algeria–Egypt relations