Write SQL query to solve given problem: List all of the ids of the representatives belonging to the Democrat party in district 13 that ended their term on 1/3/2019?. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT bioguide FROM `current-terms` WHERE type = 'rep' AND party = 'Democrat' AND end = '2019-01-03' AND district = 13