Complex sentence: After three years at the Franklin Academy, he became principal of the Brookeville Academy in Montgomery County, Maryland, however he resigned from the academy in 1836, when the school was unable to pay his salary.
Split into simpler sentences: After three years at there, he became principal of the Brookeville Academy in Montgomery County, Maryland. However, in 1836, he resigned from the academy because the school was unable to pay his salary.