What was the name of the last team Pele played professionally?

Pele's last football club was New York Cosmos of the North American Soccer League, for which he played during 3 seasons, ending his professional career in 1977.