Complex sentence: Children who are in the custody of government departments, also known as foster care, become wards of the respective government entity, and in the US wards of the states in which they reside.
Split into simpler sentences: Children who are in the custody of government departments, also known as foster care, become wards of the respective government entity. In the U.S. they become wards of the respective states in which they reside.