The invention relates to compounds of formula (I), which are inhibitors of theactivated thrombin-activatable fibrinolysis inhibitor. The compounds offormula (I) are suited for producing medicaments for the prevention andtreatment of diseases accompanied by thromboses, embolisms, hypercoagulabilityor fibrotic changes.