Politicians in Greece have narrowly voted in favour of austerity measures designed at saving the country from defaulting on its debts.

There have been violent scenes in Athens as demonstrators took to the streets in protest at the unpopular measures.