qnli question: Who was Spain's 18th Prime Minister? sentence: During the regency of Maria Cristina, Espartero ruled Spain for two years as its 18th Prime Minister from 16 September 1840 to 21 May 1841.