Bristol City ended Fulham’s four-match winning run in the Championship with an impressive victory at Craven Cottage.
Midfielder Josh Brownhill scored for the second successive match, heading home Niclas Eliasson’s first-half cross after the winger cut back inside.
The home side had plenty of possession, but Anthony Knockaert was foiled by keeper Dan Bentley when through one-on-one early in the second half.
Famara Diedhiou made it two for the Robins by finishing off a superb move from close range, but Aboubakar Kamara ensured an anxious finish by netting after Bentley had saved Neeskens Kebano’s initial shot and then heading against the bar in eight minutes of stoppage time.
Their fifth away win of the season lifted Lee Johnson’s City side up to fourth in the table, and level on points with Fulham, who remain third on goal difference only.
Both sides wore black armbands following the recent death of City loan forward Benik Afobe’s two-year-old daughter Amora, with the two sets of spectators joining together for a minute’s applause.
Top scorer Aleksandar Mitrovic was a subdued figure for Fulham in the first half as the Robins defence kept him in check and it was Ivan Cavaleiro who carried the main threat.
Mitrovic came more into the game after the break, volleying just too high after receiving Stefan Johansen’s ball on his chest, but he was unable to add to his 15 goals so far this term.
And Kamara’s effort proved to be only a consolation as Fulham suffered their third home defeat this season, although they were convinced they should have had a penalty when Kebano went down in the box.