Light Sport Aircraft
Flight Crew Air Transport Pilot (ATP); Flight Crew Flight Instructor; Flight Crew Instrument
Flight Crew Last 90 Days 230; Flight Crew Total 1510; Flight Crew Type 190
Situational Awareness
Aircraft Equipment Problem Critical; Deviation / Discrepancy - Procedural Maintenance; Deviation / Discrepancy - Procedural Published Material / Policy; Inflight Event / Encounter Fuel Issue
Air Traffic Control Provided Assistance; Flight Crew Returned To Departure Airport; General Maintenance Action
Human Factors
I departed ZZZ to do sightseeing and my passenger wanted to take photos.  [Approximately 15 minutes after departure] the engine began to run rough.  I decided to return to ZZZ where the aircraft is based.  I entered class D airspace around 2;000 feet MSL originally planning on the left base runway XY.  The tower noticed I was unusually high and they asked if I wanted [a different] runway; which I accepted and was cleared to land.  I did not declare an emergency; however the tower deemed it was an emergency; crash fire rescue was activated.  At approximately 300 feet AGL crossing the runway threshold the engine failed and the propeller came to a full stop.  After landing I attempted to restart the aircraft; which it did.  I taxied the aircraft back to the hangar without incident. No damage. The aircraft had been returned from maintenance where it underwent an annual inspection and a 5 year rubber change.  Maintenance department is still investigating.
Reporter indicated that the left fuel tank supply line and overflow line were found to have been swapped during the recent maintenance work. The aircraft had been test flown after the annual; but had only been operated from the right fuel tank. The condition was reproduced on the ground. The lines were moved to the correct positions and the system has functioned normally since.
Light sport aircraft pilot reported a rough running engine progressed into an engine failure. The problem was traced to fuel lines that had been incorrectly installed during recent maintenance.