Which preposition to use with commiserating

with Occurrences 4%

Commiserating with the homeless ones, we divided a few keráns among them, in return for which they brought us large water-melons (for which Nasirabád is celebrated), deliciously flavoured, and as cold as ice.

at Occurrences 2%

He confessed, indeed, that they were repulsing their external enemies, only to confirm the power of those who were infinitely more to be dreaded at home, and that the condition of a General was more to be commiserated at this time than any other: if he miscarry, disgrace and the Guillotine await himif he be successful, he gains little honour, becomes an object of jealousy, and assists in rivetting the chains of his country.

Which preposition to use with  commiserating