Cities around the world were flooded Wednesday with May Day protesters voicing demands for fair pay and better working conditions -- but one protest in San Jose, Costa Rica, got very personal.

A number of demonstrators -- including a group of self-proclaimed anarchists -- staged riots in front of the Legislative Assembly, the Tico Times reported.

One group of protesters had a message for President Barack Obama, who will be visiting the country Friday.

costa rica obama protest

The protesters burned cardboard cutouts of Obama and carried banners reading "Fuera Obama!" and "Obama: Go home!" According to the Tico Times, the group opposes U.S. foreign policy on South American drug trafficking, the embargo on Cuba and other foreign trade policies.

Obama departs Thursday for a three-day trip to Mexico and Costa Rica, where he is set to address economic relations and immigration reform.

See the slideshow below for more photos of the Costa Rica May Day protest.

Loading Slideshow...
  • Demonstrators hold a banner against the upcoming visit of US President Barack Obama during a May Day rally in San Jose on May 1, 2013. Obama will visit Costa Rica next May 2-4. (EZEQUIEL BECERRA/AFP/Getty Images)

  • A protester burns a cardboard in the shape of the face of US President Barack Obama during a May Day rally in San Jose on May 1, 2013. (EZEQUIEL BECERRA/AFP/Getty Images)

  • Protesters throw a molotov cocktail to the Legislative Assembly building during a May Day rally in San Jose on May 1, 2013, against the upcoming visit of US President Barack Obama. (EZEQUIEL BECERRA/AFP/Getty Images)

  • A woman is arrested as she protested against the upcoming visit of US President Barack Obama during a May Day rally in San Jose on May 1, 2013. Obama will visit Costa Rica next May 2-4. (Photo credit should read EZEQUIEL BECERRA/AFP/Getty Images)

  • COSTA RICA-MAY DAY

    Demonstrators hold a sign reading 'This is our homeland and not yankees' backyard' during a May Day rally in San Jose on May 1, 2013. (EZEQUIEL BECERRA/AFP/Getty Images)

  • A protester burns a cardboard in the shape of the face of US President Barack Obama during a May Day rally in San Jose on May 1, 2013. (EZEQUIEL BECERRA/AFP/Getty Images)

  • A protester burns a cardboard in the shape of the face of US President Barack Obama during a May Day rally in San Jose on May 1, 2013. (EZEQUIEL BECERRA/AFP/Getty Images)

  • Demonstrators hold signs against the upcoming visit of US President Barack Obama during a May Day rally in San Jose on May 1, 2013. (EZEQUIEL BECERRA/AFP/Getty Images)