Complex sentence: Indeed, it was used on Snape by James Potter, although how James learned the spell is unknown.
Split into simpler sentences: Indeed, it was used on Snape by James Potter. Though how James Potter learned the spell is unknown.