Saturday's final La Liga fixture pitted Malaga against Sevilla at La Rosaleda.
The home side took a one-goal lead into the interval following a successful penalty from Duda.
Sevilla were level in the early stages of the second through Carlos Bacca, before Federico Fazio sent the away side ahead with a header after 66 minutes.
Samuel levelled with a spectacular effort for Malaga 13 minutes from time, however, before Duda won it late on for the home side.
Read how it all unfolded in Sports Mole's minute-by-minute live commentary of the action below.
MALAGA: Caballero; Gamez, Sanchez, Flavio, Antunes; Camacho, Tissone; Amrabat, Duda, Eliseu; Juanmi
SEVILLA: Beto; Coke, Pareja, F. Navarro, Moreno; Reyes, Fazio, Iborra, Vitolo; Rakitic; Bacca
.@NAmrabat53 en su presentación como malaguista junto a Moayad Shatat. #MCFLive pic.twitter.com/ZE7eKtCiJ8
— Málaga CLUBdeFÚTBOL (@MalagaCF) January 30, 2014
4 - Malaga are unbeaten in four league meetings with Sevilla (W2 D2), not losing to them since 2011 (2-1). Difficult.
— OptaJose (@OptaJose) February 1, 2014