Doña Perfecta (1876) is a 19th-century realist novel by Benito Pérez Galdós from what is called the first of Galdós's three epochs in his novels of social analysis. The action occurs in 19th century Spain, when a young liberal named Don José (Pepe) Rey, arrives in a cathedral city named Orbajosa, with the intention of marrying his cousin Rosario. This was a marriage of convenience arranged between Pepe's father Juan and Juan's sister, Perfecta. The novel illustrates the great power that the church wielded. It also describes the differences between the traditional, provincial outlook, and the modern, liberal outlook of Madrid, the capital.
Benito Pérez Galdós (May 10, 1843 – January 4, 1920) was a Spanish realist novelist. Some authorities consider him second only to Cervantes in stature as a Spanish novelist. He was the leading literary figure in 19th-century Spain.