Learn Spanish (Spain): Viví en Madrid durante tres años. - I lived in Madrid for three years.