Original: Mounsey 2001 p. 281 Smart was infamous for his role as "Mrs. Mary Midnight" and widespread accounts of his father-in-law, John Newbery, locking him away in a mental asylum for many years over Smart's supposed religious "mania".
Simplified: He was locked away in a mental asylum for many years.