user: ### NOW ANSWER:
Question: What is the total End term with a Title of Prince Regent of Bavaria?
Columns: ['Name', 'Title', 'Start term', 'End term', 'House']
Types: ['text', 'text', 'real', 'real', 'text']
Sample row: ['Maximilian I Joseph of Bavaria', 'Elector of the Palatinate King of Bavaria', 1799.0, 1825.0, 'Wittelsbach']
SQL:

assistant: SELECT SUM("End term") FROM "Table" WHERE "Title" = 'Prince Regent of Bavaria';