user: Question: When did the term end for the term that had government 27 and Minister Tzachi Hanegbi?
Columns: ['Minister', 'Party', 'Governments', 'Term start', 'Term end']
Types: ['text', 'text', 'text', 'text', 'text']
Sample row: ['Haim-Moshe Shapira', 'United Religious Front , Hapoel HaMizrachi', 'P , 1 , 2', '14 May 1948', '8 October 1951']
SQL:

assistant: SELECT "Term end" FROM "Table" WHERE "Governments" = '27' AND "Minister" = 'Tzachi Hanegbi';