Original: From this post he was called, at the end of twenty years, to the chair of moral theology in Madrid, where he died.
Simplified: From this post he was called, at the end of twenty years, to the chair of moral theology in Madrid.