KIEV, Ukraine (AP) — European officials say Ukrainian protesters have agreed to a deal with Ukraine’s president on defusing a deadly political crisis.

Germany’s Foreign Ministry tweeted Friday afternoon that the Maidan council, which has been leading the protest movement, “has decided that opposition leaders can sign the agreement.”

A fire burns at the barricades on the outskirts of Independence Square in Kiev, Ukraine, Friday, Feb. 21, 2014. Ukraine’s presidency said Friday that it has negotiated an international deal intended to end battles between police and protesters that have killed scores and injured hundreds. (AP/ Marko Drobnjakovic)

An opposition spokeswoman in Kiev said opposition leaders were heading to the president’s office and had agreed to a deal.

It is unclear whether the protesters are putting any conditions on the deal.

Earlier Friday President Viktor Yanukovych announced early elections and promised to invite the opposition into the government.