No this verb is transitive, which means the object "boyfriend" is in the accusative.
but because its an masc. singular animate noun,. it takes the same declension as genitive
m. sg. gen. an. = "-a"
I hadn't yet had this word. It is one of the little idiosyncrasies of Duolingo that one is not introduced to vocabulary before one is required to use it, I suppose.