Phrasal verb from end (intransitive verb) + in (preposition).
end in (third-person singular simple present ends in, present participle ending in, simple past and past participle ended in)