China's state-run Xinhua news agency says President Xi Jinping will make his first official state visit to the United States in September.

The timing of the trip was announced after Xi spoke on the phone with President Barack Obama.

"During the conversation, both sides agreed to make full preparations to ensure the success of the trip," Xinhua reported.

The White House said Obama urged his Chinese counterpart to push his country further towards "consumption-led growth and a market-determined exchange rate." The U.S. president also reiterated his commitment to reaching a bilateral investment treaty with Beijing.

The White House said Obama and Xi also discussed cybersecurity and the U.S.-led international negotiations with Iran on its nuclear weapons program.

The U.S. has recently leveled accusations of cyberattacks launched by Chinese hackers against American companies and government targets. China has rejected those accusations.

The White House on Tuesday announced the creation of a federal agency to analyze threats to the nation's cybersecurity and coordinate strategy to combat them.