This cemetery scene in The Departed (2006) pays homage to the ending of The Third Man (1949). A perfect ending.