Complex sentence: Railway photography was largely tolerated by tacit agreement, however it could be prosecuted on legal grounds as a felony.
Split into simpler sentences: Railway photography was largely tolerated by tacit agreement. However, it could be prosecuted on legal grounds as a felony.