Which preposition to use with painfulness

of Occurrences 11%

The coroner uttered a few words of consolation forced from him by the painfulness of the situation.

Which preposition to use with  painfulness