American Airlines made a profit in the fourth quarter, a big turnaround from a year ago, as it slashed labor costs and reaped other benefits from its trip to bankruptcy court.

Parent company AMR Corp. said Wednesday that net income was $262 million compared with a loss of $1.1 billion in the fourth quarter of 2011.