His father was Patricio Rivas, and his mother was Juana Tomasa Villarreal.
He married Maria Guadalupe Canales, daughter of Jose Antonio Canales and Ana Josefa de la Garza on 5 May 1785 in Cerralvo. Marriage source: link.