Massachusetts is extending the deadline to file income taxes by three months, to July 15, because of the coronavirus outbreak.

In a news release Friday, Gov. Charlie Baker and legislative leaders Senate President Karen Spilka and House Speaker Robert DeLeo said they have agreed to extend the deadline to file and pay 2019 state individual income taxes to July 15, from April 15.

The federal government last week extended the deadline for federal tax filings to July 15.

“Massachusetts will move the state personal income tax filing and payment deadline to July 15, consistent with the federal government, in order to provide additional flexibility to filers during this crisis,” Baker said in a statement. “In partnership with our colleagues in the Legislature, we are committed to providing this flexibility to taxpayers in a way that protects the Commonwealth’s strong fiscal footing that we have all worked hard to develop over the past several years.”

Legislation will be filed to finance the extension, the release said.

This is a developing story and will be updated.