He was the last former Prime Minister to lose his seat until Tony Abbott lost his seat of Warringah in 2019 Australian federal election , though John Howard would lose his seat of Bennelong as a sitting Prime Minister in 2007 Australian federal election .