China is likely using data from hacks of U.K. government institutions to build profiles of British military personnel and people in other sensitive roles as Beijing expands espionage against the U.S. and its allies, government officials and cyber experts said.

State-backed hackers obtained the names, bank account details and in some cases addresses of thousands of British soldiers, sailors and air force pilots in a cyberattack on the payroll system of Britain’s Ministry of Defence, Secretary of State for Defence Grant Shapps told the House of Commons on Monday.

He declined to attribute blame but said the U.K. cannot rule out the involvement of another state.