He was caught by the school nurse , and charged with indecent conduct before the Lord Mayor of London . He was acquitted after giving Â # 1000 to the school : after that there was a military inquiry in April 1816 which stripped him of his rank and honors . Caught by the school nurse , he was charged for indecent conduct before the Lord Mayor of London and acquitted after `` donating '' Â # 1000 to the school : after that , he was subject to a military inquiry in April 1816 which stripped him of his rank and honors .