Morocco won a record-extending third championship in a final graced by President William Ruto and FIFA President Gianni Infantino.