The invention provides novel imidazole pyrazole derivatives having the general formula (I), and pharmaceutically acceptable salts thereof, wherein X1, RA and R3 to R7 are as described herein: (I) Further provided are pharmaceutical compositions including the compounds, processes of manufacturing the compounds and methods of using the compounds as medicaments, in particular methods of using the compounds as antibiotics for the treatment or prevention of bacterial infections and resulting diseases.