That was settled out of court though, and Tom Petty got a writing credit on the song.
Jeff Lynne also co-wrote it.