A second-half surge from Kildare's hurlers has denied Mayo promotion to Division 2A of the Allianz Hurling League.
The Lilywhites came from behind to run out 2:24 to 1:19 winners in Elvery's MacHale Park.
Mayo led the Lilywhites by 1-14 to 1-9 at the break.
However, an inspired third quarter was enough to kill off hopes of promotion for Derek Walsh's men.