Leopold I and his first wife, Margarita Teresa of Spain, were both Uncle/Niece AND first cousins.
Leopold’s older sister,
Mariana of Austria, was Margarita Teresa’s mother.
Leopold’s mother was
Maria Anna of Spain, who was the younger sister of of Margarita’s father, Philip IV.