Congress approved a deal late Wednesday night that would avoid a government shutdown this week and also provide funds to help fight the Zika virus.

Congress approved $1.1 billion, which will be used to study and fight the virus.

The money will be used to fund vaccines, research and support health care for mothers and children in areas with high rates of transmission.

The House OK'd the measure in a 342 to 85 vote just before 10 p.m. Wednesday.

The bill passed the Senate earlier in the day in a 72 to 26 vote.

The White House issued a statement saying that it supports the compromise bill, which the president should sign into law no later than Friday.

After the news broke, Republican U.S. Rep. John Mica released this statement.

"I have been working on fighting the Zika virus since February. As the $589 million we approved several months ago expires, these funds will help us meet the challenge of Zika starting October first," said Mica.

Meanwhile, Gov. Rick Scott sent out this tweet:

The bill ends months of fighting over funding to fight the mosquito-borne virus with Republicans and Democrats going back and forth on the issue.

According to the CDC, there are more than 600 cases of Zika in the state of Florida.

The Associated Press contributed to this article.