Margaret Thatcher wasn't elected by direct vote of the people. She became Prime Minister by virtue of being the head of her party in a parliamentary system. And it's highly doubtful she would have been chosen PM in an earlier era. 

In any event, the article is about the history of U.S., not British, elections.