Pelayo Sanchez (Movistar) claimed a thrilling victory at Challenge Mallorca outsprinting Marius Mayrhofer (Tudor Pro Cycling) to the line.