 His first cousin once removed was German composer and organist Eduard Rottmanner.He studied law at the Ludwig Maximilian University of Munich where he earned a PhD.While a student there he belonged to a student patriotic movement led by Johann Nepomuk von Ringseis.