An Irish politician launched a blistering attack on US President Barack Obama just hours before Air Force One landed in Dublin.

Newly elected deputy Richard Boyd Barrett has accused President Obama of supporting dictators and failing to promote peace in the Middle East.

Boyd Barrett made his remarks to a crowd of just 100 at an anti-war demonstration in Dublin’s O’Connell Street.

The Independent member of the Irish parliament is the chairman of the Irish Anti-War Movement.

He told the small crowd that the US ‘arm and support’ dictators in Iraq and Afghanistan and said that thousands of civilians continued to be killed in Iraq and Afghanistan.

“Barack Obama continues to support those dictators,” said Boyd Barrett.

“The US fears democracy in the Middle East because they’ll lose control of oil in that great region.”

According to reports in the Irish media, the small demonstration demanded an end to the “siege” of Gaza by Israel, and an end to the wars in Iraq and Afghanistan.

PHOTOS - President Obama's trip to Ireland - photo gallery

Follow all the stories on Obama and his trip to Ireland