The present invention relates to compounds of formula (I)
wherein wherein R1, R2, R3, R4, R5, R6 and n are as described herein. The compounds of the present invention can be used as medicaments for the treatment and/or prevention of diseases which are modulated by PPARα and/or PPARγ agonists. Examples of such diseases are diabetes, particularly non-insulin dependent diabetes mellitus, elevated blood pressure, increased lipid and cholesterol levels, atherosclerotic diseases, metabolic syndrome, endothelial dysfunction, procoagulant state, dyslipidemia, polycystic ovary syndrome, inflammatory diseases (such as e.g. crown disease, inflammatory bowel disease, collitis, pancreatitis, cholestasis/fibrosis of the liver, and diseases that have an inflammatory component such as e.g. Alzheimer's disease or impaired/improvable cognitive function) and proliferative diseases.