Complex sentence: Each Elector was appointed by state legislature, which assigned all 29 of New York's electoral votes to Monroe.
Split into simpler sentences: Each Elector was appointed by the state legislature. The legislature assigned all 29 of New York's electoral votes to Monroe.