The Moroccan team was the first to score on a penalty transformed by Oussama Targhalline (31'). The Libyan equalizer came from Mohamed Khalil at minute 47.
Morocco finishes this competition in first place with 5 points followed by Libya (4 points), Tunisia (2 points) and Algeria (1 point).
Morocco is the first team to qualify for the final phase of the U-20 African Cup of Nations (February 14 to March 4, 2021, in Mauritania).
The tournament's final day sees Libya facing Tunisia on Sunday, December 27.