Thousands of Romanian teachers have demonstrated outside the Romanian government's main offices in Bucharest before marching through the capital to demand higher salaries.

Dressed in yellow tee-shirts and red caps, teachers whistled and booed Wednesday, and carried banners saying "Leave education to the teachers!" and "If you can read this, thank your teacher."

The government this week offered teachers a 5 percent pay rise. Trade union leader Simion Hancescu said teachers were seeking a 10 percent raise.

Currently, teachers earn a base monthly salary of between 1,100 lei ($275) and 5,000 lei ($1,250).

Teachers later marched toward the presidential Cotroceni Palace in west Bucharest. President Klaus Iohannis is himself a former physics professor.

Labor Minister Dragos Pislaru suggested the protest was politically motivated ahead of June 5 local elections.