Science fiction used to always try to meet contemporary scientific conceptions. Many past Sci-Fi works had speculated about martian civilizations until the Mariner 4 spaceflight dispelled these speculations.
I'm curious what was the last Sci-Fi work featuring sentient martians (local life forms, not human colonists) contemporary with its main setting?
To be clear: I'm only interested in literature works of Sci-fi genre, not sequels, preferably hard sci-fi, or at least sci-fi works with more or less realistic plot such as Stranger in a Strange Land - the latest sci-fi novel featuring sentient martians I can remember. So fantasy and alternative history genres as well as movies/games etc. are all off-topic.
To be even more clear: I'm trying to find (if it possible) the borderline in Mars-related science fiction, the moment when Sci-Fi writers reconciled to the fact Mars has no sentient life. I believe that this moment is within 1960s, somewhen after 1964 (the Mariner 4 mission results). However the last subject instance in Sci-Fi may have been slightly earlier.
I apologize to all answerers and commenters for my misleading question. I see now that I was wrong when I allowed all-time stories. I should set upper limit for publication date. Actually I'm not interested in any story published since 1965 because it wouldn't take into account the current scientific conception according to which Mars has no life.
So I'm only looking for Sci-Fi works published before 1965 (including 1965 - extra year is for preparing to publication).