Truman Capote 's lifelong friend was Harper Lee , author of To Kill a Mockingbird .
Capote spent four years writing the book aided by his lifelong friend Harper Lee , who wrote To Kill a Mockingbird -LRB- 1960 -RRB- .