Andrew, Duke of Slavonia (Hungarian: András szlavóniai herceg; 1268 – 1278) was the youngest son of King Stephen V of Hungary and his wife, Elizabeth the Cuman. Two rebellious lords kidnapped him in 1274 in an attempt to play him off against his brother, Ladislaus IV of Hungary, but the king's supporters liberated him. He was styled "Duke of Slavonia and Croatia" in a 1274 letter. Years after his death (in 1290 and in 1317), two adventurers claimed to be identical with Andrew, but both failed.
Andrew was born in 1268. He was the second son (and youngest child) of Stephen, who bore the title "Junior King of Hungary" at the time of Andrew's birth, because he was the co-ruler of his father (Andrew's grandfather), Béla IV, the Senior King. Andrew's mother was Stephen's wife, Elizabeth the Cuman.
Andrew's father, Stephen, became the sole King of Hungary in 1270, but died two years later. Stephen was succeeded by his elder son (Andrew's ten-year-old brother) Ladislaus IV. In theory, Ladislaus's ruled under the regency of his mother, Elizabeth, but in fact, competing parties of the most wealthy noble families, including the Csáks and Kőszegis, were fighting against each other for the control of government.
Henry Kőszegi, the Ban of Slavonia, and his ally, Joachim Gutkeled, the Master of the treasury, who had earlier held Ladislaus IV in captivity, kidnapped the six-year-old Andrew in July 1274, taking him to Slavonia in an attempt to play him off against his brother. However, Kőszegi's and Gutkeled's rival, Peter Csák, and his allies annihilated their united troops in late September and liberated Andrew. In a letter dated to the end of 1274, Andrew is mentioned as "Duke of Slavonia and Croatia", but otherwise he was only referred to as "Duke Andrew". According to a scholarly theory, the former title was only used to emphasize that Andrew was the lawful heir to his 12-year-old elder brother at the time the letter, which referred to a planned marriage between Andrew and a relative of Rudolf I of Germany, was written. Andrew died at the age of ten between 6 April and 6 November 1278.