"I didn't know you were married."
Let's break down the sentence:
* Yo: I
* no sabía: didn't know
* que: that
* tú: you
* estabas: were
* casada: married
This phrase is a common way to express surprise or lack of knowledge about someone's marital status.