American John Catlin won his maiden European Tour title at the Andalucia Masters on Sunday, holding off former world number one Martin Kaymer in a thrilling battle that went down to the final hole.