Hosts Rwanda earned a place in the quarter-finals of the 2016 African Nations Championship with a 2-1 win over 10-man Gabon in Kigali.
Ernest Sugira gave Johnny Mckinstry’s side the lead shortly before half-time.
He then grabbed a second moments after the break as he fired a superb shot into the top corner from an angle.
Aaron Boupendza pulled one back for the Panthers as he headed home in the 53rd minute. Gabon’s hopes of finding an equaliser were dented just four minutes later when Tchen Kabi was sent off for a second yellow card after he fouled Dominique Nshuti.
Despite being a man down, Gabon pushed for an equaliser and hit the woodwork shortly before the end of the match and then also squandering a good chance in injury time.
The win gives Rwanda a maximum six points after they beat Ivory Coast 1-0 on the opening day of the tournament, when Morocco and Gabon drew 0-0.
The other match in this group later on Wednesday sees Morocco take on Ivory Coast.
The final Group A matches are on Sunday, with Rwanda playing Morocco while Ivory Coast play Gabon at the same time.