For me, it had a lot to do with whether I liked the teacher or not. At the secondary level, the work was neither hard enough nor interesting enough for that to be the primary issue. In other words, even though I now love history, I didn't find it particularly more interesting than, say, chemistry back then. So it depended mainly on which teachers were most enjoyable.
Content-wise, maybe my favorite was Japanese.