Jockeys from districts all over Siena are set to ride Sunday in a bareback horse race, thundering on their horses around the medieval town square in Siena in northern Italy. The race, called Il Palio, takes place twice a year and lasts less than two minutes, drawing tens of thousands of spectators from all over the world.

The earliest recorded Palio race took place in 1310, and the horses raced through the streets of the town instead of around a track. Local authorities soon discovered the danger for townspeople in such a set-up, and by the 17th century, the race had been moved to a makeshift ring around the town square.

GettyImages-176616606 A horse was blessed by a priest of the Contrada de 'Lupa' (She-Wolf) before the horse race in Siena on August 16, 2013. Tuscans take the competition very seriously, and the festivities surrounding it can last for days. Photo: AFP/Getty Images

Ten horses -- from 10 of the 17 districts, each called a "contrada" -- in Siena are chosen at random to race in Il Palio, with one competition taking place on July 2 and the other on Aug. 16. Winning Il Palio is a great honor, and local residents say the August victory is more prestigious because August victors get to keep their bragging rights for the rest of the year, the New York Times reported.

GettyImages-176639035 Spectators gathered at the Palio horse race on Siena's main square in 2013. The Palio medieval race is held twice a year in Siena with jockeys riding bareback around a makeshift race course set up in the city's central square. Photo: AFP/Getty Images GettyImages-147726166 Riders turn a corner around the makeshift track during Il Palio 2012. Photo: AFP/Getty Images

Il Palio has been called the most dangerous horse race because of the tiny space in which all 10 horses and jockeys race. The square in Siena is so crowded that riders are often thrown from their horses, and the horses have finished the race with injuries that resulted in them being put down, causing many to criticize the race for animal cruelty. Seven horses in the past 15 years have been euthanized after suffering injuries in Il Palio.

The competition is so fierce that horses have been drugged and jockeys kidnapped in instances of sabotage.

For the horse and jockey that win, the glory bestowed upon the home contrada is great, and celebrations can last for days. The winner of the race has a large canvas banner, called a "drappellone," created by an artist with the contrada's symbols on it. The drapellone is then proudly displayed in the local museum.

Think a banner isn't worth risking your life? Back when the race first began in medieval times, the jockey was carried home to his contrada on the shoulders of his compatriots where he received his prize: the local girl of his choice.