Breakdown of Estuvo dos años en la cárcel.
en
in / on / at
estar
to be (location/state)
el año
year
dos
two
la cárcel
the jail, the prison
Elon.io is an online learning platform
We have an entire course teaching Spanish (Latin America) grammar and vocabulary.