Write SQL query to solve given problem: Provide the type and end date of the term of the legislator named John Vining.. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT T2.type, T2.end FROM historical AS T1 INNER JOIN `historical-terms` AS T2 ON T1.bioguide_id = T2.bioguide WHERE T1.first_name = 'John' AND T1.last_name = 'Vining'