You're thinking of "My Sweet Lord", which was lifted from "He's So Fine."
Oops. Yes, you are correct. I always thought he got jobbed on that lawsuit, which he lost, as I recall. How do you prove a 3 chord song is ripped off?