A window frame (7, 8, 8′) for a window (4, 5, 6, 5′, 6′) of a passenger car, has at least one seal having one or a plurality of sealing profiles (17.1, 17.2, 17.3, 17.4, 18.1, 18.4) that abut one another at seams in the longitudinal direction of the seal, and further have a fastening profile cooperating with the seal and comprising one or more fastening profile pieces (13.1, 13.2, 13.3, 13.4) that abut one another on at least one seam in the longitudinal direction of the fastening profile. The fastening profile pieces (13.1, 13.2, 13.3, 13.4) have a
metal ornamental moulding (9, 10, 10.1, 10.2, 10.3) attached to them and a moulding
flange (14.1, 14.2, 14.3, 14.4) fastened with at least one fastening element (15.1, 15.2, 15.3, 15.4) to secure the fastening profile to the passenger car. The ornamental moulding (9, 10) is crimped on the moulding
flange (14.1, 14.2, 14.4) of the fastening profile piece or pieces (13.1, 13.2, 13.3, 13.4) such that it covers the seam in one piece. The invention additionally relates to a method of producing such a window frame.