It was defeated by 297 votes to 117 , a Government majority of 180 .