They wrote some many hits together, even after their divorce he still went on to write some amazing stuff.  Click the link:

https://music.yahoo.com/news/gerry-goffin-carole-kings-ex-husband-dies-75-204325777.html