Adam Lyth's maiden first-class hundred made Nottinghamshire sweat at Trent Bridge - until Mark Ealham's best bowling figures for 12 years took his team back to the top of LV Division One.

Lyth's chanceless 132 lasted 95 overs and more than six hours, before he became the 12th of 15 lbw victims in this match of swing and more swing.

With his seventh-wicket partner Tim Bresnan also gone leg before to the very next ball just before tea - giving Ealham, with seven for 59, his best performance for Nottinghamshire - it took only another 10 minutes to finish Yorkshire off for 290 and wrap up the win by 112 runs.

There was no doubt, however, that Lyth's 267-ball innings had turned home frustration into genuine disquiet as Yorkshire crept ever closer to a famous run chase, particularly once Bresnan emerged as such a sturdy partner in a seventh-wicket stand of 93.

Nottinghamshire began this morning with obvious pretensions to victory - and after Ealham had seen off Gerard Brophy early on, their success seemed merely a matter of time.

Yorkshire had Lyth on the case though - and he had other ideas.

Admirable temperament and concentration appear to be allied with a pedigree top-order defence and range of strokes in the 20-year-old left-hander from Whitby.

It all added up to a 218-ball hundred which featured not only 14 fours but power to add, the number three continuing his odyssey as he and Bresnan so nearly batted throughout the afternoon.

The visitors had begun the final day with a flourish in sunny but increasingly hazy conditions, and it was not long before Nottinghamshire captain Chris Read took the precaution of posting a cover sweeper at each end.

But the loss of Brophy appeared a significant blow, Ealham knocking back off stump past a straight bat prodded forward down the wrong line to end a fifth-wicket stand of 64.

Any fanciful thoughts of Yorkshire reaching the second-highest last-innings target in their long and proud history - and only the third of 400 or more - seemed to be set aside, temporarily at least.

It was rather a question of whether Lyth might be able to make a name for himself, in a noble rearguard on a perfectly viable pitch.

The answer was a resounding yes.

In late morning, he passed his previous best of 80 when he cover-drove Graeme Swann for four on the up.

Adil Rashid looked intent on the long haul too in another handy half-century stand, his determination clearly proven by the time he finally got off the mark from the 30th ball he faced.

But several pleasing shots later, Rashid paid the price for failing to come to terms with a Swann off-break from round the wicket and became yet another lbw departure.

From 193 for six at lunch, however, Lyth and Bresnan simply would not go quietly.

The second new ball merely brought more consternation for the hosts, Lyth driving Paul Franks three times to the long extra-cover boundary in one over.

The inevitable stand-off over the state of the new ball had already taken place by then, and Nottinghamshire wore the look of a worried team as Charlie Shreck queried the matter again and again.

He convinced the umpires to issue a replacement after 14 overs - but it appeared to make no difference to Lyth and Bresnan until Andre Adams at last shifted the mainstay with a ball which must have pitched just on leg-stump and held its line.

It was a shame Lyth made his disbelief so obvious as he dragged himself away, bat swishing, and less than a minute later, at the other end, Bresnan had to go the same way as Ealham doubled up.

From that point, the end came quickly in a final flurry of lbws.