text: Richelieu 's protege Mazarin , another cardinal , took over the job of prime minister during the minority of Louis XIV .
  
  ###
  
  Richelieu quit as Louis XV 's prime minister so Mazarin had to replace him .