Petra Kvitova outlasted her Dutch opponent Kiki Bertens to win a historic third Madrid Open title.
The Czech world number 10, who also won last week in Prague, finally triumphed 7-6 (8-6) 4-6 6-3 in two hours and 52 minutes.
Kvitova, who also won in Spain in 2011 and 2015, becomes the first woman to win the tournament three times.
But she was made work hard by the world number 20 before extending her winning run to 11 matches.
Bertens's display after a week in which she beat world number two Caroline Wozniacki and five-time Grand Slam champion Maria Sharapova on the way to the final will lift her above her previous career-high ranking of 18.