The present adventure relates to novel compounds of the formula (I) or (II), to the use of the compounds in electronic devices, to a process for the preparation of the compounds, and to electronic devices comprising the compounds, preferably as matrix materials or as electron-transport materials.