A friendship based on mutual hatred for Habsburgs