Yorkshire finally got their hands on the Division One trophy on Saturday but not before slipping to their first LV= County Championship defeat of the season.
The White Rose had been confirmed as title winners for the second successive season on day one of this match at Lord's, as they had first bowled Middlesex out for 106 and then listened in from the Lord's balcony on a Nottinghamshire batting collapse against Durham.
With that opening day formality out of the way, Yorkshire were expecting to begin their celebrations soon, but Middlesex frustrated them by romping to a 246-run victory after bowling the champions out for 134 in a chase of 381 on the final day.
Toby Roland-Jones helped himself to figures of five for 27 in 21 overs, a haul that included the wicket of Alex Lees (62). In fact, only three Yorkshire batsmen managed double figures in the second innings as Middlesex's James Harris picked up three for 37.
Tim Murtagh then ensured Middlesex's hold on second position in the Division One table by picking up the final wicket - that of Steven Patterson for nine - before Yorkshire skipper Andrew Gale was able to lay his hands on the trophy.
Glamorgan's hopes of finishing second in Division Two suffered a setback as Kent picked up a 316-run win at Cardiff, despite Colin Ingram scoring an unbeaten 105 for the Welsh outfit.
Resuming the final day on 101 for two towards a target of 554, Glamorgan proceeded to fold for 237 as Darren Stevens and Matt Coles shared nine wickets between them for Kent, who notched only their fourth win of the season.