Question: who wrote the song i fought the law
Answer: `` I Fought the Law '' is a song written by Sonny Curtis of the Crickets and popularized by a cover by the Bobby Fuller Four , which went on to become a top - ten hit for the band in 1966 and was also recorded by the Clash in 1979 .