He was a Liberal member of the Western Australian Legislative Assembly from 2008 to 2017, representing Wanneroo.
He won the seat after defeating sitting Labor MLA Dianne Guise.
[1] Miles was appointed Parliamentary Secretary to the Minister for Commerce in 2013 to 2016, in the Barnett Ministry.
[3] Prior to his election the Legislative Assembly, Miles was a local government Councillor for the North Ward of the City of Wanneroo.
Miles contested the 2005 Western Australian state election unsuccessfully and then successfully in 2008 and 2013.